Tell users when an error happened.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
tastytea 2020-07-02 01:39:19 +02:00
parent d7471e2533
commit c6d6625fa1
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -62,6 +62,7 @@ int main()
catch (const exception &e) catch (const exception &e)
{ {
cerr << e.what() << '\n'; cerr << e.what() << '\n';
cout << "An error happened: " << e.what() << "\r\n";
} }
gitea::cleanup(); gitea::cleanup();