Skip to content

Commit

Permalink
Show more details if editText fails
Browse files Browse the repository at this point in the history
  • Loading branch information
agateau committed Oct 4, 2016
1 parent a6d681f commit 4fd3c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yokadi/ycli/tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def waitProcess(proc):
mtime = newMtime
onChanged(readFile(name))
if proc.returncode != 0:
raise Exception()
raise Exception("The command {} failed. It exited with code {}.".format(proc.args, proc.returncode))
return readFile(name)
finally:
os.close(fd)
Expand Down

0 comments on commit 4fd3c6a

Please sign in to comment.