https://bugzilla.wikimedia.org/show_bug.cgi?id=62312

--- Comment #1 from Brad Jorsch <bjor...@wikimedia.org> ---
An exception shouldn't be making it to the user is the problem.

What seems to be going on here is that Cirrus is causing User to be loaded from
the ApiBeforeMain hook. Since that's the sort of thing this hook was created
for, what needs to happen is that the caller of that hook needs to be prepared
to handle the exception.


FYI, I believe the error you're getting should be a response along the lines of
this:

{"error":{"code":"mwoauth-invalid-authorization","info":"The authorization
headers in your request are not valid: No approved grant was found for that
authorization token."}}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to