summaryrefslogtreecommitdiffstats
path: root/editor.py
diff options
context:
space:
mode:
Diffstat (limited to 'editor.py')
-rw-r--r--editor.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/editor.py b/editor.py
index 10ff158b..359cff93 100644
--- a/editor.py
+++ b/editor.py
@@ -104,9 +104,7 @@ least one of these before using this command.""", # noqa: E501
104 try: 104 try:
105 rc = subprocess.Popen(args, shell=shell).wait() 105 rc = subprocess.Popen(args, shell=shell).wait()
106 except OSError as e: 106 except OSError as e:
107 raise EditorError( 107 raise EditorError(f"editor failed, {str(e)}: {editor} {path}")
108 "editor failed, %s: %s %s" % (str(e), editor, path)
109 )
110 if rc != 0: 108 if rc != 0:
111 raise EditorError( 109 raise EditorError(
112 "editor failed with exit status %d: %s %s" 110 "editor failed with exit status %d: %s %s"