Show more info on error

Shows the error message and logs the exception object to console