Log better failures during state transitions
Bug #610421 reported by
Michael Nelson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Center Agent |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Although we've added the ability to log messages when doing state transitions, we're not currently using it everywhere. This just came up when mvo successfully created an LP subscription but the capture_payment call failed - it would be good to include the payment id in the state transition log.
Check all other calls to _set_state() in subscription_
Please see comment 1 on the duplicate bug for more info about the failure=True kwarg too:
https:/
tags: | added: isd-logging-sprint |
Changed in software-center-agent: | |
milestone: | none → beta1 |
description: | updated |
Changed in software-center-agent: | |
status: | Triaged → In Progress |
Changed in software-center-agent: | |
status: | In Progress → Fix Committed |
Changed in software-center-agent: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
As part of this fix, we should also ensure that we log to the normal file-system log during transitions.