aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/IRC/Client.pm66
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/IRC/Client.pm6 b/lib/IRC/Client.pm6
index 65f80e7..e130174 100644
--- a/lib/IRC/Client.pm6
+++ b/lib/IRC/Client.pm6
@@ -69,12 +69,18 @@ class IRC::Client:ver<2.001001> {
my $res = $p.irc-unhandled(self, $e);
next EVENTS unless $res === IRC_NOT_HANDLED;
}
+
+ CATCH { warn .backtrace }
}
}
+
+ CATCH { warn .backtrace }
}
say "Closing connection";
$!sock.close;
+
+ CATCH { warn .backtrace }
});
}