log it with exception