@@ -714,9 +714,8 @@ def _submitPilotsToQueue(self, pilotsToSubmit, ce, queue):
714
714
:param str queue: queue where to submit
715
715
716
716
:return: S_OK/S_ERROR.
717
- If S_OK, returns tuple with (pilotsToSubmit, pilotList, stampDict)
717
+ If S_OK, returns tuple with (pilotList, stampDict)
718
718
where
719
- pilotsToSubmit is the pilots still to submit (maybe 0)
720
719
pilotsList is the list of pilots submitted
721
720
stampDict is a dict of timestamps of pilots submission
722
721
:rtype: dict
@@ -752,7 +751,7 @@ def _submitPilotsToQueue(self, pilotsToSubmit, ce, queue):
752
751
"Failed" ,
753
752
)
754
753
if not result ["OK" ]:
755
- return result
754
+ self . log . error ( "Failure submitting Accounting report" , result [ "Message" ])
756
755
757
756
if self .sendSubmissionMonitoring :
758
757
result = self .sendPilotSubmissionMonitoring (
@@ -764,7 +763,7 @@ def _submitPilotsToQueue(self, pilotsToSubmit, ce, queue):
764
763
"Failed" ,
765
764
)
766
765
if not result ["OK" ]:
767
- return result
766
+ self . log . error ( "Failure submitting Monitoring report" , result [ "Message" ])
768
767
769
768
self .failedQueues [queue ] += 1
770
769
return submitResult
@@ -788,7 +787,7 @@ def _submitPilotsToQueue(self, pilotsToSubmit, ce, queue):
788
787
"Succeeded" ,
789
788
)
790
789
if not result ["OK" ]:
791
- return result
790
+ self . log . error ( "Failure submitting Accounting report" , result [ "Message" ])
792
791
793
792
if self .sendSubmissionMonitoring :
794
793
result = self .sendPilotSubmissionMonitoring (
@@ -800,7 +799,7 @@ def _submitPilotsToQueue(self, pilotsToSubmit, ce, queue):
800
799
"Succeeded" ,
801
800
)
802
801
if not result ["OK" ]:
803
- return result
802
+ self . log . error ( "Failure submitting Monitoring report" , result [ "Message" ])
804
803
805
804
return S_OK ((pilotList , stampDict ))
806
805
0 commit comments