patch for error logs not catching faults