From c6d6625fa1e3eeb96d361a545b4aac24da405bc1 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 2 Jul 2020 01:39:19 +0200 Subject: [PATCH] Tell users when an error happened. --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 187bab6..e7db5b9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -62,6 +62,7 @@ int main() catch (const exception &e) { cerr << e.what() << '\n'; + cout << "An error happened: " << e.what() << "\r\n"; } gitea::cleanup();