Browse code

Merge 6d7e78b79a98bbcd38bffabb2bd03de9d1349ed1 into de8c85ceae93779cdf7d6aea2eabb7567d69d7ce

rodolfojcj authored on 04/06/2021 14:23:00 • GitHub committed on 04/06/2021 14:23:00
Showing 1 changed files
... ...
@@ -40,6 +40,7 @@ bootstrap Kamailio;
40 40
 
41 41
 BEGIN {
42 42
 	$SIG{'__DIE__'} = sub {
43
+		die @_ if( $^S or not defined $^S );
43 44
 		Kamailio::Message::log(undef, L_ERR, "perl error: $_[0]\n");
44 45
         };
45 46
 	$SIG{'__WARN__'} = sub {