Fix crash if KeePass fails to start and MessageBox throws exception
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
I trying to help troubleshoot this bug, I discoverd that if KeePass fails to start because of an exception, it is possible for an exception to be thrown when trying to display a message box to show the error message. This patch provides a fallback so that if the message box fails, we can still see what the original error message was if we run KeePass from a command prompt instead of crashing due to an unhandled exception.
I've included this, thanks!
Best regards,
Dominik