This is an archive of the discontinued Mercurial Phabricator instance.

wireprotov1server: capture Abort type before accessing the `hint` attribute
ClosedPublic

Authored by mharbison72 on Nov 20 2019, 10:27 PM.

Details

Summary

Although the previous code worked, pytypes complained because exc is caught
above as BundleValueError, Abort, PushRaced, and the other two don't have this
attribute.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.