File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -546,8 +546,8 @@ runXFTPSndWorker c srv Worker {doWork} = do
546546 withStore' c $ \ db -> updateSndFileComplete db sndFileId
547547 where
548548 addRecipients :: SndFileChunk -> SndFileChunkReplica -> AM SndFileChunkReplica
549- addRecipients ch@ SndFileChunk {numRecipients} cr@ SndFileChunkReplica {rcvIdsKeys}
550- | length rcvIdsKeys > numRecipients = throwE $ INTERNAL " too many recipients"
549+ addRecipients ch@ SndFileChunk {numRecipients} cr@ SndFileChunkReplica {sndChunkReplicaId, rcvIdsKeys}
550+ | length rcvIdsKeys > numRecipients = throwE $ INTERNAL ( " too many recipients, sndChunkReplicaId = " <> show sndChunkReplicaId)
551551 | length rcvIdsKeys == numRecipients = pure cr
552552 | otherwise = do
553553 let numRecipients' = min (numRecipients - length rcvIdsKeys) maxRecipients
You can’t perform that action at this time.
0 commit comments