aboutsummaryrefslogtreecommitdiffstats
path: root/xmpt
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2017-11-12 19:40:18 -0500
committerBrian Cully <bjc@kublai.com>2017-11-12 19:40:18 -0500
commit0290ddc5c456681ba1a28c44dc988aadb6daddb3 (patch)
tree2450f22712b09d5047703d738ae21e18175fc7fe /xmpt
parent49cab1f3dd51f750704cef71b5af500728ade28f (diff)
downloadxmpt-0290ddc5c456681ba1a28c44dc988aadb6daddb3.tar.gz
xmpt-0290ddc5c456681ba1a28c44dc988aadb6daddb3.zip
Dump matcher on timeout.
Diffstat (limited to 'xmpt')
-rwxr-xr-xxmpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpt b/xmpt
index a43c037..19451f2 100755
--- a/xmpt
+++ b/xmpt
@@ -215,7 +215,7 @@ sub do_recv {
local $SIG{ALRM} = sub {
my $b = $readbuf;
chomp $b;
- die "Timed out waiting for match in $name step. Current read buffer:\n$b\n";
+ die "Timed out waiting for match in $name step. Current read buffer:\n$b\nMatcher:\n$re\n";
};
local $SIG{PIPE} = sub {
die "SIGPIPE received from '@ARGV' while matching in $name step.\n";