Skip to content

Commit

Permalink
Pretty printing in hooks replies [#179]
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarrasch committed Jul 1, 2012
1 parent 1f0b442 commit 04bf2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/git-hook-listener
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module SubmissionServer
elsif submission.update_attributes(commit_hash: commit_hash)
send_data "Your submission was updated succesfully to #{commit_hash}"
else
send_data "Update FAILED: #{submission.errors.full_messages}"
send_data "Update FAILED: #{submission.errors.messages.values.join}"
end
else
send_data "[Internal error] Unrecognized command #{command}"
Expand Down

0 comments on commit 04bf2e4

Please sign in to comment.