Capture panic errors and notify them as unexpected crashes.