clear error context on crash guard