From: Chuck Hagenbuch Date: Mon, 18 Oct 2010 00:55:17 +0000 (-0400) Subject: Slightly better error message when a repository slug isn't found. Still need to catch... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d65e2594db25ab476aa0860564afe899eb61e6e3;p=horde.git Slightly better error message when a repository slug isn't found. Still need to catch all of these exceptions and wrap them in a nice error page. --- diff --git a/chora/lib/Application.php b/chora/lib/Application.php index 1e7db1eb4..e3d7d28bd 100644 --- a/chora/lib/Application.php +++ b/chora/lib/Application.php @@ -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']];