Homec4science

Throw a more tailored exception after failing to resolve a ref

Authored by epriestley <git@epriestley.com> on May 13 2014, 22:52.

Description

Throw a more tailored exception after failing to resolve a ref

Summary: Ref T2683. Throw a more tailored exception to allow callers to distinguish between bad refs (which are expected, if users try to visit garbage branches) and other types of errors.

Test Plan: Tried to view branch "alksndfklansdf". Viewed branch "master".

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2683

Differential Revision: https://secure.phabricator.com/D9094

Details

Committed
epriestley <git@epriestley.com>May 13 2014, 22:52
Pushed
aubortJan 31 2017, 17:16
Parents
rPHce3f9211e440: Let diffusion.readmequery accept a commit
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHb80b851600cb: Throw a more tailored exception after failing to resolve a ref (authored by epriestley <git@epriestley.com>).May 13 2014, 22:52