Title: [opsview] [11855] Do not call detach here, as other setup required in auto
Revision
11855
Author
tvoon
Date
2013-03-19 01:49:58 +0000 (Tue, 19 Mar 2013)

Log Message

Do not call detach here, as other setup required in auto

Modified Paths


Modified: trunk/opsview-web/lib/Opsview/Web/Controller/Root.pm
===================================================================
--- trunk/opsview-web/lib/Opsview/Web/Controller/Root.pm	2013-03-19 01:43:41 UTC (rev 11854)
+++ trunk/opsview-web/lib/Opsview/Web/Controller/Root.pm	2013-03-19 01:49:58 UTC (rev 11855)
@@ -69,7 +69,11 @@
     catch {
         $c->log->warn( "Got corrupted session: $_" );
         $c->error( "Tried to set invalid session ID" );
-        $c->detach( "/soft_error" );
+
+        # We don't bother making a detach call here. This is because the rest of auto needs
+        # to get run to have other setup actions done. The default end
+        # will catch the corrupted session, so that should be fine
+        #$c->detach( "/soft_error" );
     };
 
     my $f = {};

_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to