Better error reporting in case we catch an exception