HomePhorge

Throw a more tailored exception after failing to resolve a ref

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

Provenance
epriestleyAuthored on May 13 2014, 1:52 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPce3f9211e440: Let diffusion.readmequery accept a commit
Branches
Unknown
Tags
Unknown

Event Timeline