projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3eed8c2
)
Tweak which events errors are ignored for.
author
Mike Taylor
<mike@indexdata.com>
Fri, 9 Feb 2007 10:44:25 +0000
(10:44 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 9 Feb 2007 10:44:25 +0000
(10:44 +0000)
lib/ZOOM/IRSpy.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy.pm
b/lib/ZOOM/IRSpy.pm
index
fa0885c
..
6788402
100644
(file)
--- a/
lib/ZOOM/IRSpy.pm
+++ b/
lib/ZOOM/IRSpy.pm
@@
-1,4
+1,4
@@
-# $Id: IRSpy.pm,v 1.58 2007-02-05 13:28:51 mike Exp $
+# $Id: IRSpy.pm,v 1.59 2007-02-09 10:44:25 mike Exp $
package ZOOM::IRSpy;
package ZOOM::IRSpy;
@@
-419,7
+419,6
@@
sub check {
eval { $conn->_check() };
if ($@ &&
($ev == ZOOM::Event::RECV_DATA ||
eval { $conn->_check() };
if ($@ &&
($ev == ZOOM::Event::RECV_DATA ||
- $ev == ZOOM::Event::RECV_APDU ||
$ev == ZOOM::Event::ZEND)) {
# An error in, say, a search response, becomes visible to
# ZOOM before the Receive Data event is sent and persists
$ev == ZOOM::Event::ZEND)) {
# An error in, say, a search response, becomes visible to
# ZOOM before the Receive Data event is sent and persists
@@
-427,7
+426,7
@@
sub check {
# each report the same error. So we just ignore errors on
# "unimportant" events. ### But this doesn't work for,
# say, a Connection Refused, as the only event that shows
# each report the same error. So we just ignore errors on
# "unimportant" events. ### But this doesn't work for,
# say, a Connection Refused, as the only event that shows
- # us this error is the End.
+ # us this error is the ZEND.
$conn->log("irspy_event", "ignoring error ",
"on event $ev ($evstr): $@");
next;
$conn->log("irspy_event", "ignoring error ",
"on event $ev ($evstr): $@");
next;