mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-22 12:00:13 -04:00
[MasterServer] Fix catch Error
This commit is contained in:
parent
b820a6fc18
commit
9f5689769e
@ -89,7 +89,7 @@ void RestServer::start()
|
||||
ss << "}";
|
||||
ResponseStr(*response, ss.str(), "application/json");
|
||||
}
|
||||
catch(out_of_range e)
|
||||
catch(const out_of_range &e)
|
||||
{
|
||||
*response << response400;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user