diff --git a/statustime.cpp b/statustime.cpp index c835318..d62fd8b 100755 --- a/statustime.cpp +++ b/statustime.cpp @@ -30,9 +30,10 @@ int main() std::this_thread::sleep_for(1s); } } - catch (const std::exception &) + catch (const std::exception &e) { cout << "\nError: Time script crashed.\n"; + std::cerr << e.what() << '\n'; return 33; } }