HomeSoftware Heritage

common: Log traceback of exception caught in view error handler

Description

common: Log traceback of exception caught in view error handler

Traceback of an exception caught in a django view error handler was included
in error responses but not logged to stderr.

While the exception traceback is clearly readable in browse error pages, it
is not in Web API responses because of the JSON format.

So ensure the traceback is also logged to stderr for better debugging.

Details

Provenance
anlambertAuthored on Feb 16 2021, 2:26 PM
anlambertPushed on Feb 16 2021, 3:03 PM
Differential Revision
D5082: common: Log traceback of exception caught in view error handler
Parents
rDWAPPSf47a349d2cf0: package.json: Upgrade dependencies
Branches
Unknown
Tags
Unknown
Build Status
Buildable 19250
Build 29857: test-and-buildJenkins console · Jenkins