Skip to content

Conversation

@andreasknoepfle
Copy link
Member

@andreasknoepfle andreasknoepfle commented Oct 14, 2020

In the context of #160 we debugged a bit into certain cases, when we have files that do not exists or when we have no permission.
We have a very first draft in handling those cases.

Probably this is also liked to #62.

Description

We added some clauses that treat output on stderr or warnings that we do not recognize to be fatal and lead to error output.

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (with unit and/or functional tests).
  • I have added a note to CHANGELOG.md if necessary (in the ## master section).

{:exit_status, _, status} -> exited(options, state, status)
{:eof, _} -> eof(options, state)
{:closed, _} -> closed(options, state)
{:data, _, 1, data} ->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to our future selves: the integer value is the data type of the message:

The valid values are 0 ("normal") and 1 ("stderr")

Up until now, we did not handle messages on stderr.

@pmeinhardt pmeinhardt changed the base branch from master to main December 12, 2020 01:04
@pmeinhardt
Copy link
Contributor

This needs rebasing once #166 is merged so we get CI feedback on this. ✌️

@andreasknoepfle andreasknoepfle force-pushed the handle-errors-on-scp-upload branch from 06f3a24 to 9a69616 Compare May 19, 2021 07:56
@andreasknoepfle
Copy link
Member Author

Rebased, but there seems to be an issue with the CI.

@andreasknoepfle andreasknoepfle force-pushed the handle-errors-on-scp-upload branch from 9a69616 to 4ac8e01 Compare May 28, 2021 12:49
@andreasknoepfle andreasknoepfle force-pushed the handle-errors-on-scp-upload branch 3 times, most recently from d9bf5c0 to 0c72ece Compare January 11, 2023 10:41
@andreasknoepfle andreasknoepfle force-pushed the handle-errors-on-scp-upload branch 3 times, most recently from 4281f25 to f6c6203 Compare January 11, 2023 10:47
Continue to collect warnings instead of stopping at the first.
@andreasknoepfle andreasknoepfle force-pushed the handle-errors-on-scp-upload branch from f6c6203 to e3c6d44 Compare January 11, 2023 10:47
@andreasknoepfle andreasknoepfle merged commit b60cbe5 into main Jan 11, 2023
@andreasknoepfle andreasknoepfle deleted the handle-errors-on-scp-upload branch January 11, 2023 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants