Commit 11d5ad2f authored by Jacob Vosmaer's avatar Jacob Vosmaer

Make file edit error message less specific

The truth is that at the point where there error message is written we
can only guess what went wrong.
parent 352af72f
...@@ -33,7 +33,7 @@ module Files ...@@ -33,7 +33,7 @@ module Files
if created_successfully if created_successfully
success success
else else
error("Your changes could not be committed, because the file has been changed") error("Your changes could not be committed. Maybe the file changed, or there was nothing to commit?")
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment