[Rt-commit] rt branch, 4.2/database-error-503, repushed

Alex Vandiver alexmv at bestpractical.com
Tue Mar 25 10:37:09 EDT 2014


The branch 4.2/database-error-503 was deleted and repushed:
       was 631fef37129d3c053c83170c92dce7b19f7d9f59
       now b5b04647fe9281d6d800ff0182702fa97bb93ec6

1:  631fef3 ! 1:  b5b0464 Return 503 on database connection error
    @@ -16,7 +16,7 @@
     +            unless (eval { RT::ConnectToDatabase() }) {
     +                my $res = Plack::Response->new(503);
     +                $res->content_type("text/plain");
    -+                $res->body("Database inaccessable; contact the RT administrator (".RT->Config->Get("OwnerEmail").")");
    ++                $res->body("Database inaccessible; contact the RT administrator (".RT->Config->Get("OwnerEmail").")");
     +                return $self->_psgi_response_cb( $res->finalize, sub { $self->CleanupRequest } );
     +            }
     +        }



More information about the rt-commit mailing list