Commit 15152726 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor change to debugging email.

parent bfa1fd7d
......@@ -58,7 +58,8 @@ my $user = "geniuser";
my $group = "GeniSlices";
# Need a command line option.
my $debug = 1;
my $debug = 0;
my $mailerrors = 1;
# Determined by version.
my $responder;
......@@ -296,6 +297,9 @@ if ($@) {
else {
if (GeniResponse::IsError($result)) {
$message .= "Error: " . $result->{'code'} . "\n";
if ($mailerrors) {
print STDERR "Mail Errors is on.\n";
}
}
else {
$message .= "Code: " . $result->{'code'} . "\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment