Catches a stack trace when an app crashes unexpectedly.
