Fixes #2828 - Report an error when trying to save ovirt resource
On both create and update, there was no exception handler to captured given exception. That resulted in having an exception screen instead of an error message. The fix capture all of the given exceptions, and report them as an error.
added capture for Exception
added capture for StandardError, after a comment i got from gh bot
Related issues
Bug #2828: Wrong/empty password for oVirt leads to an exception
Fixes #2828 - Report an error when trying to save ovirt resource
On both create and update, there was no exception handler to captured
given exception. That resulted in having an exception screen instead of
an error message.
The fix capture all of the given exceptions, and report them as an
error.
added capture for Exception
added capture for StandardError, after a comment i got from gh bot