now all exceptions are logged with error messages