Skip to content

Commit

Permalink
main: Mention the logfile for subprocess errors too
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Martin <marcan@marcan.st>
  • Loading branch information
marcan committed Mar 23, 2022
1 parent bb9c997 commit 2594aee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,8 @@ def main_loop(self):
if e.output is not None:
p_error(f"Output: {e.output}")
logging.exception("Process execution failed")
p_warning("If you need to file a bug report, please attach the log file:")
p_warning(f" {os.getcwd()}/installer.log")
except:
logging.exception("Exception caught")
p_warning("If you need to file a bug report, please attach the log file:")
Expand Down

0 comments on commit 2594aee

Please sign in to comment.