[MasterServer] Fix catch Error

pull/655/head
Phoenix / Hotaru 10 months ago
parent b820a6fc18
commit 9f5689769e
No known key found for this signature in database
GPG Key ID: 50AE27B713475E99

@ -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…
Cancel
Save