Clearer message if adding comment to commit via api fails.

This commit is contained in:
Marin Jankovski 2014-12-30 14:00:07 +01:00
parent 7fa80b5bd0
commit d4b613ded7
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ module API
if note.save
present note, with: Entities::CommitNote
else
not_found!
error!("Failed to save note", 422)
end
end
end