mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
remote: ssh: fix error message (#2002)
* ssh: fix exception reporting during upload * ssh:Make exception message in PEP8 format * Update dvc/remote/ssh/__init__.py Co-Authored-By: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
committed by
Ruslan Kuprieiev
co-authored by
Ruslan Kuprieiev
parent
1119ad9ed6
commit
0210604f07
@@ -234,13 +234,10 @@ class RemoteSSH(RemoteBASE):
|
||||
)
|
||||
except Exception:
|
||||
logger.exception(
|
||||
"failed to upload '{host}/{path}' to '{dest}'".format(
|
||||
host=from_info.host,
|
||||
path=from_info.path,
|
||||
dest=to_info.path,
|
||||
"failed to upload '{}' to '{}'".format(
|
||||
from_info, to_info
|
||||
)
|
||||
)
|
||||
pass
|
||||
|
||||
def list_cache_paths(self):
|
||||
with self.ssh(self.path_info) as ssh:
|
||||
|
||||
Reference in New Issue
Block a user