bad log message when sending fails. #1334
Labels
bug
Something isn't working
harmless
likely-fixed
likely fix is in the repository, success not confirmed yet.
log
log messages inscrutable
UserStory
interesting to read to consider improving
When a file fails to be
put
through a ftp transfer with a sender, the logging gives a very confusing response. It states that itfails
but then goes on to confirm success of the transfer. I confirmed that the transfer did in fact fail and the success log is wrong.I think the problem is that the try/except statement in here
sarracenia/sarracenia/flow/__init__.py
Lines 2656 to 2672 in da9dd37
we should be checking if the
len_written
is greater then 0, and indicate a failed transfer if it is.Originally posted by @andreleblanc11 in #1325 (comment)
The text was updated successfully, but these errors were encountered: