Page MenuHomePhabricator

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

Authored by mharbison72 on Wed, Nov 20, 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.