In this case you probably want to log or print the full stack trace of the exception.