← Back to issue list

Support --debug flag to enable backtrace and debug logs.

View original Github issue

Metadata

Project
snapcraft
Number
#332
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #332 in commit 580c43ebc, adding -d/--debug to show exception backtraces and enable DEBUG logging; resolves LP #1548492.

Resolution: closed resolved

Reason: PR #332 was merged as c6e29e78d, with implementation commit 580c43ebc adding global debug backtraces and DEBUG logging.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR resolves LP: [#1548492](https://bugs.launchpad.net/snapcraft/+bug/1548492) by re-raising any caught exception and changing the log level to DEBUG if Snapcraft is running with the `-d` or `--debug` argument.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #332 in commit 580c43ebc, adding -d/--debug to show exception backtraces and enable DEBUG logging; resolves LP #1548492.
stealth/space-bunny-alpha — closed resolved Merged PR #332 via commit 580c43ebc, adding -d/--debug to show backtraces and enable DEBUG logs; resolves LP #1548492.
stealth/space-bunny-alpha — closed resolved Merged PR #332 via commit 580c43ebc and merge c6e29e78d, resolving LP #1548492. It re-raises caught exceptions and enables DEBUG backtraces for -d/--debug.
qwen/qwen3.6-35b-a3b — — Merged after a maintainer requested a comment fix and a rebase with master. Adds the --debug flag to enable backtraces and debug logs, resolving LP #1548492.
qwen3.6-35b-a3b-mtp-q6 — — Merged following a rebase. Introduces a --debug flag that re-raises caught exceptions and sets the log level to DEBUG, resolving LP #1548492.

Update history

No update history recorded yet.

Related work

Related issues

No related issues found above the similarity threshold.