HomePhabricator

phabricator: handle exceptions better

Description

phabricator: handle exceptions better

The error number is only present on *some* exceptions, and only on the wrapped
argument, like SSLError() wrapping a IOError exception.

Differential Revision: https://phab.mercurial-scm.org/D1192

Details

Committed
Martijn Pieters <mjpieters@fb.com>Oct 19 2017, 9:03 AM
Differential Revision
D1192: phabricator: handle exceptions better
Parents
rFBHGX6a9de6c27e3a: cdatapack: do not keep fd open
Branches
Unknown
Tags
Unknown