Tell users when an error happened.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
d7471e2533
commit
c6d6625fa1
|
@ -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();
|
||||||
|
|
Reference in New Issue
Block a user