diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-12-30 14:29:55 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-12-30 14:29:55 +0100 |
commit | ed464edabeb62e35363ebadd0a5bb5ff394b6781 (patch) | |
tree | bb1dd698035e1887d2979fd6e51b6219a3a79e15 /lib/api/commits.rb | |
parent | d4b613ded728bbd45e5d67e5af555d661581ecf0 (diff) | |
download | gitlab-ce-ed464edabeb62e35363ebadd0a5bb5ff394b6781.tar.gz |
Message for api files and groups.
Diffstat (limited to 'lib/api/commits.rb')
-rw-r--r-- | lib/api/commits.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/commits.rb b/lib/api/commits.rb index 1aea6943000..8e528e266bf 100644 --- a/lib/api/commits.rb +++ b/lib/api/commits.rb @@ -108,7 +108,7 @@ module API if note.save present note, with: Entities::CommitNote else - error!("Failed to save note", 422) + render_api_error!("Failed to save note #{note.errors.messages}", 422) end end end |