sshkit.ex icon indicating copy to clipboard operation
sshkit.ex copied to clipboard

Better error handling for scp uploads

Open andreasknoepfle opened this issue 5 years ago • 2 comments

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).

andreasknoepfle avatar Oct 14 '20 17:10 andreasknoepfle

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

pmeinhardt avatar Dec 22 '20 14:12 pmeinhardt

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

andreasknoepfle avatar May 19 '21 07:05 andreasknoepfle