Display a message when there is an exception. Just for the tests. To be improved after.