hooklistener: print errors as warning and not just as debug messages

main
parent ce12fbdd41
commit d02ea1c7f1
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -4030,7 +4030,7 @@ sub hooklistener {
}
};
if ($@) {
debug("hooklistener errored out: $@");
warning("hooklistener errored out: $@");
# inform the other side that something went wrong
print STDOUT (pack("n", 0) . "error")
or error "cannot write to socket: $!";

Loading…
Cancel
Save