print the exception