summaryrefslogtreecommitdiff
path: root/rhimport-dn
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-07-20 20:10:39 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-07-20 20:10:39 (GMT)
commit1d311e19c9ea161c14fc44671b0be37e5b563c85 (patch)
treeea2ee224a8354c495e3234ea68a236743c1fa166 /rhimport-dn
parent2eea19a2b47109de9c7dbf91eb7536c2e3d127ca (diff)
added import log to output on error
disabled used carts window git-svn-id: https://svn.helsinki.at/rhimport/trunk@75 7c65635b-ec39-4f67-a626-873dbafdd612
Diffstat (limited to 'rhimport-dn')
-rwxr-xr-xrhimport-dn4
1 files changed, 3 insertions, 1 deletions
diff --git a/rhimport-dn b/rhimport-dn
index ef2f4db..32d5bf3 100755
--- a/rhimport-dn
+++ b/rhimport-dn
@@ -94,7 +94,7 @@ for my $entry ($feed->entries) {
print "summary:\n" . $summary;
}
- print "\n\n\n";
+ print "\n";
}
}
($file ne "") or die "No Entry found for today!\n";
@@ -123,6 +123,8 @@ $dbh->disconnect();
unlink $file;
if(!$ret) {
+ print "\nImport Error:\n"
+ print $log;
exit 1;
}