Including case ID in the logs in case of exception