mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 07:18:31 +01:00
executor: fix error msg
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -59,5 +59,5 @@ class Executor(object):
|
||||
stderr_file=stderr_file, cwd=cwd, shell=shell)
|
||||
if code != 0:
|
||||
cmd_str = ' '.join(cmd) if type(cmd) == list else cmd
|
||||
raise ExecutorError('Git command error ({}):\n{}\n{}'.format(cmd_str, out, err))
|
||||
raise ExecutorError('Exec command error ({}):\n{}\n{}'.format(cmd_str, out, err))
|
||||
return out
|
||||
|
||||
Reference in New Issue
Block a user