Commit d4b613de authored by Marin Jankovski's avatar Marin Jankovski

Clearer message if adding comment to commit via api fails.

parent 7fa80b5b
......@@ -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
......
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