From: Chuck Hagenbuch Date: Sun, 28 Nov 2010 01:22:57 +0000 (-0500) Subject: Include the invalid revision in the exception X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2372cb37c2960a5513ad36231dd353329bfe47b0;p=horde.git Include the invalid revision in the exception --- diff --git a/framework/Vcs/lib/Horde/Vcs.php b/framework/Vcs/lib/Horde/Vcs.php index f01c559b8..22c49552e 100644 --- a/framework/Vcs/lib/Horde/Vcs.php +++ b/framework/Vcs/lib/Horde/Vcs.php @@ -194,7 +194,7 @@ class Horde_Vcs public function assertValidRevision($rev) { if (!$this->isValidRevision($rev)) { - throw new Horde_Vcs_Exception('Invalid revision number'); + throw new Horde_Vcs_Exception('Invalid revision number "' . $rev . '"'); } }