removed redundant logging of the exception
handle exceptions without --debug