Compress network error during notification #4932

This commit is contained in:
Jerry (Xinyu Hou) 2015-11-19 10:01:50 -08:00
parent 4b2fc8c4c9
commit e1e38bd3a2
1 changed files with 3 additions and 3 deletions

View File

@ -223,13 +223,13 @@ ToolApp::notifyActivation()
std::cout << ARCH->internet().get(ss.str()) << std::endl;
}
catch (std::exception& e) {
LOG((CLOG_CRIT "An error occurred during notification: %s\n", e.what()));
LOG((CLOG_NOTE "An error occurred during notification: %s\n", e.what()));
}
catch (...) {
LOG((CLOG_CRIT "An unknown error occurred during notification.\n"));
LOG((CLOG_NOTE "An unknown error occurred during notification.\n"));
}
}
else {
LOG((CLOG_DEBUG "notification failed"));
LOG((CLOG_NOTE "notification failed"));
}
}