errors: Clean up the logic slightly.
errors: Clean up the logic slightly.

This deduplicates a little bit of logic, and also has us always put
things into `report` the same way.

Empirically an exception in this codepath is very rare, so we won't
complicate the code by trying to salvage a lot of partial information
if it happens -- just log the traceback, and try to get a minimal
notification sent of the bare fact this happened.

punchagan/zulip,synicalsyntax/zulip,rht/zulip,tommyip/zulip,brainwane/zulip,rishig/zulip,kou/zulip,dhcrzf/zulip,zulip/zulip,eeshangarg/zulip,tommyip/zulip,brainwane/zulip,punchagan/zulip,tommyip/zulip,brainwane/zulip,rishig/zulip,eeshangarg/zulip,hackerkid/zulip,rht/zulip,andersk/zulip,shubhamdhama/zulip,shubhamdhama/zulip,hackerkid/zulip,andersk/zulip,andersk/zulip,brainwane/zulip,kou/zulip,synicalsyntax/zulip,jackrzhang/zulip,dhcrzf/zulip,showell/zulip,jackrzhang/zulip,synicalsyntax/zulip,showell/zulip,timabbott/zulip,tommyip/zulip,punchagan/zulip,zulip/zulip,timabbott/zulip,kou/zulip,eeshangarg/zulip,zulip/zulip,eeshangarg/zulip,rht/zulip,shubhamdhama/zulip,zulip/zulip,brainwane/zulip,dhcrzf/zulip,hackerkid/zulip,showell/zulip,showell/zulip,rht/zulip,showell/zulip,hackerkid/zulip,brainwane/zulip,punchagan/zulip,showell/zulip,hackerkid/zulip,shubhamdhama/zulip,kou/zulip,andersk/zulip,eeshangarg/zulip,jackrzhang/zulip,tommyip/zulip,synicalsyntax/zulip,dhcrzf/zulip,jackrzhang/zulip,timabbott/zulip,timabbott/zulip,rishig/zulip,showell/zulip,synicalsyntax/zulip,eeshangarg/zulip,jackrzhang/zulip,jackrzhang/zulip,rishig/zulip,shubhamdhama/zulip,hackerkid/zulip,rht/zulip,rishig/zulip,timabbott/zulip,tommyip/zulip,kou/zulip,punchagan/zulip,dhcrzf/zulip,zulip/zulip,punchagan/zulip,kou/zulip,punchagan/zulip,tommyip/zulip,shubhamdhama/zulip,andersk/zulip,brainwane/zulip,kou/zulip,andersk/zulip,andersk/zulip,zulip/zulip,shubhamdhama/zulip,jackrzhang/zulip,rht/zulip,dhcrzf/zulip,timabbott/zulip,rishig/zulip,zulip/zulip,dhcrzf/zulip,timabbott/zulip,synicalsyntax/zulip,rishig/zulip,hackerkid/zulip,rht/zulip,eeshangarg/zulip,synicalsyntax/zulip