Don't hide stack trace if no tty

Bug #1790697 reported by Kyle Fazzari
This bug report is a duplicate of:  Bug #1790455: snapcraft hides error traces. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
High
Kyle Fazzari

Bug Description

As of snapcraft v2.43, it started saving the stack trace into a file instead of showing it. However, this makes ephemeral builds (CI, cleanbuild, etc.) impossible to debug since the trace file disappears once the build has completed. We should continue to print the traceback if no tty is detected.

Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Kyle Fazzari (kyrofa) wrote :
Changed in snapcraft:
assignee: nobody → Kyle Fazzari (kyrofa)
Revision history for this message
Michał Sawicz (saviq) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.