From 11d5ad2f17ed487ac10414c16480a23cedf60d3c Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Wed, 6 Aug 2014 14:27:22 +0200 Subject: 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. --- app/services/files/update_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/files/update_service.rb b/app/services/files/update_service.rb index c631f28749c..cbd441122dc 100644 --- a/app/services/files/update_service.rb +++ b/app/services/files/update_service.rb @@ -33,7 +33,7 @@ module Files if created_successfully success 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 -- cgit v1.2.1