Improve LoggingFlow exception formatting