This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: move call to protocol handler outside of try..except
ClosedPublic

Authored by indygreg on Feb 2 2018, 8:50 PM.

Details

Summary

The protocol handler doesn't raise ErrorResponse. So it doesn't
need to be in this try..except ErrorResponse block.

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.

Event Timeline

indygreg created this revision.Feb 2 2018, 8:50 PM
durin42 accepted this revision.Feb 7 2018, 5:18 PM
This revision is now accepted and ready to land.Feb 7 2018, 5:18 PM
This revision was automatically updated to reflect the committed changes.