[MasterServer] Fix catch Error

This commit is contained in:
Phoenix / Hotaru 2023-07-09 02:16:37 +01:00
parent b820a6fc18
commit 9f5689769e
No known key found for this signature in database
GPG Key ID: 50AE27B713475E99

View File

@ -89,7 +89,7 @@ void RestServer::start()
ss << "}"; ss << "}";
ResponseStr(*response, ss.str(), "application/json"); ResponseStr(*response, ss.str(), "application/json");
} }
catch(out_of_range e) catch(const out_of_range &e)
{ {
*response << response400; *response << response400;
} }