4

When my app crashes, I get a crash report that takes 5 minutes to scroll by. What's the best way to handle this?

legoscia
  • 39,593
  • 22
  • 116
  • 167
mwt
  • 697
  • 1
  • 6
  • 14

1 Answers1

1

You could pipe the crash dump to a file. The important information is probably at the top.

You could do what Hynek was saying above and configure a sasl error logger handler for the crash dumps: http://erlang.org/doc/man/sasl_app.html

The default is tty which dumps to your screen and is not terribly helpful as you mentioned. But you could specify that it should use the sasl_report_file_h instead. Then the dump gets logged to a file for easier perusal.

Additional Links:

Jeremy Wall
  • 23,907
  • 5
  • 55
  • 73