Closed Bug 1368988 Opened 7 years ago Closed 7 years ago

store-failure-lines "UnboundLocalError: local variable 'failure_lines' referenced before assignment"

Categories

(Tree Management :: Treeherder: Data Ingestion, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: jgraham)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/0fc556cc647b2493d99d9c806fdf2330315345f4
Bug 1368988 - OperationalError ignored during failure_line storage.

This code assumes that any caught error results in a retry. But
that isn't actaully true for OperationalError where we only want
to retry if it's a specific kind of error, and otherwise just raise.
Many thanks for sorting this so quickly!
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(james)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: