flyctl
flyctl copied to clipboard
print stack traces on `LOG_LEVEL=debug`
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
How about removing the if condition and show the stacktrace regardless? That's what most Go programs do when they have a panic.
Closing due to #3850.