Commit 40d52d9e authored by Leigh B. Stoller's avatar Leigh B. Stoller

Reflect errors to Utah for now.

parent 6fc591a6
......@@ -31,6 +31,7 @@ BEGIN { $GENI_DBNAME = "geni"; }
# Configure variables
my $EMULAB_PEMFILE = "@prefix@/etc/genisa.pem";
my $MAINSITE = @TBMAINSITE@;
# Testbed libraries.
use lib '@prefix@/lib';
......@@ -139,6 +140,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")
if (!$MAINSITE);
#
# 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