We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2113fec commit da574c3Copy full SHA for da574c3
src/DIRAC/DataManagementSystem/Agent/RequestOperations/ReplicateAndRegister.py
@@ -430,10 +430,16 @@ def fts3Transfer(self):
430
)
431
opFile.Error = "Couldn't get metadata"
432
elif noReplicas:
433
- self.log.error(
434
- "Unable to schedule transfer",
435
- f"File {opFile.LFN} doesn't exist at {','.join(noReplicas)}",
436
- )
+ if None in noReplicas:
+ self.log.error(
+ "Unable to schedule transfer",
+ f"File {opFile.LFN} doesn't have any replicas, which should never happen",
437
+ )
438
+ else:
439
440
441
+ f"File {opFile.LFN} doesn't exist at {','.join(noReplicas)}",
442
443
opFile.Error = "No replicas found"
444
opFile.Status = "Failed"
445
elif badReplicas:
0 commit comments