log any errors to the crash.log to help troubleshoot issues.