Permalink
Browse files

Fix up bad error response message.

  • Loading branch information...
1 parent 0230dde commit c674c9d81f04d438aa75eab52d923f6403913254 @cespare cespare committed Mar 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 barkeep_server.rb
View
@@ -160,7 +160,7 @@ def find_commit(repo_name, sha, zero_commits_ok)
def ensure_required_params(*required_params)
required_params.each do |param|
unless params[param] && !params[param].strip.empty?
- message = "Missing required parameter '{param}'."
+ message = "Missing required parameter '#{param}'."
if content_type == "application/json"
halt 400, { :error => message }.to_json
else

0 comments on commit c674c9d

Please sign in to comment.