Log thrown exception from test immediately