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:
4601c83
)
Use connection-level diagnostic if there is no record.
author
Mike Taylor
<mike@indexdata.com>
Wed, 9 May 2007 12:05:04 +0000
(12:05 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 9 May 2007 12:05:04 +0000
(12:05 +0000)
lib/ZOOM/IRSpy/Test/Record/Fetch.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Test/Record/Fetch.pm
b/lib/ZOOM/IRSpy/Test/Record/Fetch.pm
index
0569245
..
86ae65a
100644
(file)
--- a/
lib/ZOOM/IRSpy/Test/Record/Fetch.pm
+++ b/
lib/ZOOM/IRSpy/Test/Record/Fetch.pm
@@
-1,4
+1,4
@@
-# $Id: Fetch.pm,v 1.28 2007-05-01 16:31:08 mike Exp $
+# $Id: Fetch.pm,v 1.29 2007-05-09 12:05:04 mike Exp $
# See the "Main" test package for documentation
@@
-101,7
+101,8
@@
sub record {
my $ok = 0;
if (!$record || $record->error()) {
$conn->log("irspy_test", "retrieval of $syn record failed: ",
- defined $record ? $record->exception() : "???");
+ defined $record ? $record->exception() :
+ $conn->exception());
} else {
$ok = 1;
my $text = $record->render();