diff --git a/src/SaveTool/SaveTool.cpp b/src/SaveTool/SaveTool.cpp index e4dd9e5..4bff821 100644 --- a/src/SaveTool/SaveTool.cpp +++ b/src/SaveTool/SaveTool.cpp @@ -324,8 +324,12 @@ void SaveTool::updateCheckEvent(SDL_Event& event) { return; } + if(r.status_code == 0) { + _queue.addToast(Toast::Type::Error, "Seems like the connection was blocked.\nPlease check your firewall's settings."); + } + if(r.status_code != 200) { - _queue.addToast(Toast::Type::Error, Utility::format("The request failed with error code {}: {}", r.status_code, r.reason.c_str())); + _queue.addToast(Toast::Type::Error, Utility::format("The request failed with error code {}:\n{}", r.status_code, r.reason.c_str())); return; }