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
Lint Skipped
Unit
Unit Tests Skipped