Subject: | POE::Kernel::alias_resolve() throws a fatal error under ASSERT_RETVALS |
Under POE_ASSERT_DEFAULT=1, (and as it turns out, under ASSERT_RETVALS),
if $kernel->alias_resolve() does *not* resolve to a session, it throws a
fatal exception, instead of simply warning.
This patch fixes it in 0.3401
Subject: | alias_resolve_fatal.patch |
--- Kernel.pm~ 2006-04-10 15:54:57.000000000 -0700
+++ Kernel.pm 2006-04-10 17:02:36.000000000 -0700
@@ -623,8 +623,8 @@
}
$! = ESRCH;
- TRACE_RETVALS and _carp "<rv> session not resolved: $!";
- ASSERT_RETVALS and _confess "<rv> session not resolved: $!";
+ TRACE_RETVALS and _carp "<rv> session not resolved: $!";
+ ASSERT_RETVALS and _carp "<rv> session not resolved: $!";
}
### Explain why a function is returning unsuccessfully.