[Rt-commit] r13549 - in rt/3.8/trunk: sbin
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jun 23 17:57:59 EDT 2008
Author: sartak
Date: Mon Jun 23 17:57:58 2008
New Revision: 13549
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/sbin/rt-email-dashboards.in
Log:
r63086 at onn: sartak | 2008-06-23 17:57:48 -0400
Include verbose output about fetching resources in email-dashboards
Modified: rt/3.8/trunk/sbin/rt-email-dashboards.in
==============================================================================
--- rt/3.8/trunk/sbin/rt-email-dashboards.in (original)
+++ rt/3.8/trunk/sbin/rt-email-dashboards.in Mon Jun 23 17:57:58 2008
@@ -381,6 +381,9 @@
my $uri = shift;
my ($content, $filename, $mimetype, $encoding);
+ my $original_uri = $uri;
+ verbose "Getting resource [_1]", $original_uri;
+
# strip out RT::WebURL
$uri =~ s/^\Q$RT::WebURL//;
@@ -431,6 +434,13 @@
$mimetype ||= 'application/octet-stream';
$encoding ||= 'base64';
+ vverbose "Resource [_1]: length=[_2] filename='[_3]' mimetype='[_4]', encoding='[_5]'",
+ $original_uri,
+ length($content),
+ $filename,
+ $mimetype,
+ $encoding;
+
return ($content, $filename, $mimetype, $encoding);
}
More information about the Rt-commit
mailing list