flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

print stack traces on `LOG_LEVEL=debug`

Open lillianberryfly opened this issue 2 years ago • 1 comments

Change Summary

What and Why:

Right now, only dev builds of flyctl print stack traces. I don't work primarily on flyctl so I don't usually have a dev build around, but I still want to see stack traces without checking Sentry.

How:

Related to:


Documentation

  • [ ] Fresh Produce
  • [ ] In superfly/docs, or asked for help from docs team
  • [x] n/a

lillianberryfly avatar Nov 21 '23 20:11 lillianberryfly

How about removing the if condition and show the stacktrace regardless? That's what most Go programs do when they have a panic.

kzys avatar Nov 21 '23 21:11 kzys

Closing due to #3850.

kzys avatar Aug 14 '24 22:08 kzys