mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-28 13:27:15 +00:00
Forgot 2 exceptions
This commit is contained in:
@@ -399,7 +399,7 @@ void EQ::Net::DaybreakConnection::Process()
|
|||||||
|
|
||||||
ProcessQueue();
|
ProcessQueue();
|
||||||
}
|
}
|
||||||
catch (std::exception ex) {
|
catch (std::exception &ex) {
|
||||||
if (m_owner->m_on_error_message) {
|
if (m_owner->m_on_error_message) {
|
||||||
m_owner->m_on_error_message(fmt::format("Error processing connection: {0}", ex.what()));
|
m_owner->m_on_error_message(fmt::format("Error processing connection: {0}", ex.what()));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ bool StringIsNumber(const std::string &s) {
|
|||||||
auto r = stod(s);
|
auto r = stod(s);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (std::exception) {
|
catch (std::exception &) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user