Skip to content

collect-artifacts: Try to use Libguestfs#656

Open
gbenhaim wants to merge 1 commit into
masterfrom
try_to_use_libguesfs_on_scp_error
Open

collect-artifacts: Try to use Libguestfs#656
gbenhaim wants to merge 1 commit into
masterfrom
try_to_use_libguesfs_on_scp_error

Conversation

@gbenhaim

Copy link
Copy Markdown
Member

If an error occurred during SCP try to extract
logs using Libguestfs (if it's available).

Signed-off-by: gbenhaim galbh2@gmail.com

If an error occurred during SCP try to extract
logs using Libguestfs (if it's available).

Signed-off-by: gbenhaim <galbh2@gmail.com>
ignore_nopath=ignore_nopath,
)
except ExtractPathError as err:
except (ExtractPathError, SCPException) as err:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the scp.py module can throw other exceptions(including IOError),
see: jbardin/scp.py#82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants