fix warnings, from RT merge fallout
[freeside.git] / htetc / handler.pl
index a9431d3..711c32a 100644 (file)
@@ -69,8 +69,15 @@ sub handler
 
     } else {
 
+      local $SIG{__WARN__};
+      local $SIG{__DIE__};
+
       RT::Init() if $RT::VERSION; #for lack of something else
 
+      #we don't want the RT error handlers under FS
+      undef $SIG{__WARN__};
+      undef $SIG{__DIE__};
+
       $ah->interp($fs_interp);
 
     }