Don't prompt to report Sentry errors unless stdin is a tty

Bug #1792182 reported by Kyle Fazzari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

IIf stdin isn't a TTY, it makes no sense to prompt the user if they want to report an error. Click does the right thing and turns the lack of a tty into a No, but it's not very pretty. Simply report it if SNAPCRAFT_ENABLE_SILENT_REPORT is truthy, and if not, suggest they log a bug.

Tags: 18.10-sentry
Kyle Fazzari (kyrofa)
description: updated
tags: added: 18.10-sentry
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.