allow for more than just logging of the exception