summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index 021150bf0..c05911ee2 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -70,8 +70,7 @@ sub AddLink {
$::FORM{'rankdir'} = "LR" if !defined $::FORM{'rankdir'};
if (!defined($::FORM{'id'}) && !defined($::FORM{'doall'})) {
- DisplayError("No bug numbers given.");
- exit;
+ ThrowCodeError("missing_bug_id");
}
my $filename = "data/webdot/$$.dot";