Logging fatal exception directly in WriterThread