Fix exception being written twice.
Fix log order
Write additional exceptions to log while running.