mozilla-it / bugzilla-kanbanize

Sync Automation between Kanbanize and Mozilla
0 stars 1 forks source link

Kanbanize 400 errors are ignored and unlogged #2

Closed floatingatoll closed 8 years ago

floatingatoll commented 8 years ago

Debugging alterations to the code make the problem more apparent:

[Thu Jun 02 16:34:21 2016] [WARN] AA: Bug 1171571 is RESOLVED and card 1311 is Non-actionable
[Thu Jun 02 16:34:21 2016] [WARN] HTTP response [400 Bad Request]:
[Thu Jun 02 16:34:21 2016] [WARN] >>>
[Thu Jun 02 16:34:21 2016] [WARN] {"Error":"Blocked cards cannot be moved."}
[Thu Jun 02 16:34:21 2016] [WARN] <<<
[Thu Jun 02 16:34:21 2016] [DEBUG] [  47/ 622] Card 1311 - Bug  1171571 - [] ... ** in-sync **
[Thu Jun 02 16:34:21 2016] [INFO] [  47/ 622] Card 1311 - Bug  1171571 - [] ... ** Card completed **
floatingatoll commented 8 years ago

Logging fixed by 8910c302c509861ee65bd61722b48a6aef9ca283.