Forgot 2 exceptions

This commit is contained in:
Michael Cook (mackal) 2020-01-16 19:10:04 -05:00
parent 139b6c34e5
commit 4241fba7e2
2 changed files with 2 additions and 2 deletions

View File

@ -399,7 +399,7 @@ void EQ::Net::DaybreakConnection::Process()
ProcessQueue();
}
catch (std::exception ex) {
catch (std::exception &ex) {
if (m_owner->m_on_error_message) {
m_owner->m_on_error_message(fmt::format("Error processing connection: {0}", ex.what()));
}

View File

@ -222,7 +222,7 @@ bool StringIsNumber(const std::string &s) {
auto r = stod(s);
return true;
}
catch (std::exception) {
catch (std::exception &) {
return false;
}
}