mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Forgot 2 exceptions
This commit is contained in:
parent
139b6c34e5
commit
4241fba7e2
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user