[Rt-commit] [rtir] 02/02: Log if Incidents queue is not loaded

Jim Brandt jbrandt at bestpractical.com
Wed Jun 11 11:31:41 EDT 2014


This is an automated email from the git hooks/post-receive script.

jbrandt pushed a commit to branch 3.0/reports-without-constituencies
in repository rtir.

commit e25063cae92c5ace67316eb1af14a0105f143555
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Jun 5 08:54:00 2014 -0400

    Log if Incidents queue is not loaded
---
 html/RTIR/Reporting/index.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/html/RTIR/Reporting/index.html b/html/RTIR/Reporting/index.html
index 9b76078..1766923 100644
--- a/html/RTIR/Reporting/index.html
+++ b/html/RTIR/Reporting/index.html
@@ -96,6 +96,7 @@
 <%INIT>
 my $QueueObj = RT::Queue->new($session{'CurrentUser'});
 $QueueObj->Load('Incidents');
+RT::Logger->error('Unable to load Incidents queue') unless $QueueObj->Id;
 
 my $ConstituencyDisabled = 0;
 my $constituency_cf = RT::CustomField->new($session{'CurrentUser'});

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list