Log better failures during state transitions

Bug #610421 reported by Michael Nelson
14
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_states.py too.

Please see comment 1 on the duplicate bug for more info about the failure=True kwarg too:
https://bugs.edge.launchpad.net/software-center-agent/+bug/615358/comments/1

tags: added: isd-logging-sprint
Changed in software-center-agent:
milestone: none → beta1
description: updated
Revision history for this message
Michael Nelson (michael.nelson) wrote :

As part of this fix, we should also ensure that we log to the normal file-system log during transitions.

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.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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