Commit 672e05f4 authored by Leigh B. Stoller's avatar Leigh B. Stoller

All errors emailed to protogeni-errors@flux ...

parent a5081b55
......@@ -135,6 +135,9 @@ my $response = $responder->{'_decode'}->serve($request,
# Add stuff for log message if sent.
AddAuditInfo("message", $response . "\n\n" . $request);
# CC errors to Utah for now.
AddAuditInfo("cc", "protogeni-errors\@flux.utah.edu");
#
# Terminate the log capture so that we can print the response to STDOUT
# for the web server.
......
......@@ -160,8 +160,7 @@ my $responder = Frontier::Responder->new( "methods" => {
# Add stuff for log message if sent.
AddAuditInfo("message", $request);
# CC errors to Utah for now.
AddAuditInfo("cc", "protogeni-errors\@flux.utah.edu")
if (!$MAINSITE);
AddAuditInfo("cc", "protogeni-errors\@flux.utah.edu");
my $response = $responder->{'_decode'}->serve($request,
$responder->{'methods'});
......
......@@ -142,8 +142,8 @@ my $response = $responder->{'_decode'}->serve($request,
# Add stuff for log message if sent.
AddAuditInfo("message", $response . "\n\n" . $request);
# CC errors to Utah for now.
AddAuditInfo("cc", "protogeni-errors\@flux.utah.edu")
if (!$MAINSITE);
AddAuditInfo("cc", "protogeni-errors\@flux.utah.edu");
#
# Terminate the log capture so that we can print the response to STDOUT
# for the web server.
......
......@@ -135,8 +135,8 @@ my $response = $responder->{'_decode'}->serve($request,
# Add stuff for log message if sent.
AddAuditInfo("message", $response . "\n\n" . $request);
# CC errors to Utah for now.
AddAuditInfo("cc", "protogeni-errors\@flux.utah.edu")
if (!$MAINSITE);
AddAuditInfo("cc", "protogeni-errors\@flux.utah.edu");
#
# Terminate the log capture so that we can print the response to STDOUT
# for the web server.
......
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