View | Details | Raw Unified | Return to bug 40037
Collapse All | Expand All

(-)a/C4/Letters.pm (-10 / +7 lines)
Lines 1058-1072 sub SendQueuedMessages { Link Here
1058
            }
1058
            }
1059
        );
1059
        );
1060
1060
1061
        if (@plugins) {
1061
        foreach my $plugin (@plugins) {
1062
            foreach my $plugin (@plugins) {
1062
            try {
1063
                try {
1063
                $plugin->before_send_messages($params);
1064
                    $plugin->before_send_messages($params);
1064
            } catch {
1065
                } catch {
1065
                warn "$_";
1066
                    warn "$_";
1066
                exit 1 if $params->{exit_on_plugin_failure};
1067
                    exit 1 if $params->{exit_on_plugin_failure};
1067
            };
1068
                };
1069
            }
1070
        }
1068
        }
1071
    }
1069
    }
1072
1070
1073
- 

Return to bug 40037