[otrs-cvs] otrs/Kernel/System/Scheduler TaskManager.pm,1.19,1.20
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/System/Scheduler
In directory lancelot:/tmp/cvs-serv17278/Kernel/System/Scheduler
Modified Files:
TaskManager.pm
Log Message:
Removed eval block since Kernel::system::YAML::Load() already has it.
Author: cr
Index: TaskManager.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Scheduler/TaskManager.pm,v
retrieving revision 1.19
retrieving revision 1.20
diff -2 -u -d -r1.19 -r1.20
--- TaskManager.pm 15 Jan 2013 17:43:27 -0000 1.19
+++ TaskManager.pm 16 Jan 2013 22:56:44 -0000 1.20
@@ -227,18 +227,5 @@
while ( my @Data = $Self->{DBObject}->FetchrowArray() ) {
- my $DataParam;
-
- # eval if YAML content can be readed
- eval {
- $DataParam = Kernel::System::YAML::Load( $Data[0] );
- };
-
- # display any YAML error message as a normal otrs error message
- if ($@) {
- $Self->{LogObject}->Log(
- Priority => 'error',
- Message => $@,
- );
- }
+ my $DataParam = Kernel::System::YAML::Load( $Data[0] );
if ( !$DataParam ) {
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log