Slightly better error message when a repository slug isn't found. Still need to catch...
authorChuck Hagenbuch <chuck@horde.org>
Mon, 18 Oct 2010 00:55:17 +0000 (20:55 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 18 Oct 2010 00:55:17 +0000 (20:55 -0400)
chora/lib/Application.php

index 1e7db1e..e3d7d28 100644 (file)
@@ -108,7 +108,7 @@ class Chora_Application extends Horde_Registry_Application
         }
 
         if (!isset($sourceroots[$acts['rt']])) {
-            throw new Chora_Exception(_("Malformed URL"));
+            throw new Chora_Exception(sprintf(_("The repository with the slug '%s' was not found"), $acts['rt']));
         }
 
         $sourcerootopts = $sourceroots[$acts['rt']];