Make BAIL_OUT display what was thrown

This commit is contained in:
Andrew Johnson
2021-03-22 15:09:35 -05:00
parent cde7d3d254
commit e3d04e9cd8

View File

@@ -38,7 +38,7 @@ $ioc->debug($debug);
$SIG{__DIE__} = $SIG{INT} = $SIG{QUIT} = sub {
$ioc->exit;
BAIL_OUT('Caught signal');
BAIL_OUT("Caught signal: $_[0]");
};