@ -360,7 +360,7 @@ class ApplicationController < BaseController
request.env.eachdo|key,value|
request.env.eachdo|key,value|
requestHash['env'][key.to_s]=value.to_s
requestHash['env'][key.to_s]=value.to_s
end
end
UserMailer.send_mail(:error_report,
send_mail(:error_report,
"A missing translation found in #{Rails.env}",
"A missing translation found in #{Rails.env}",
"<p>A translation for <code>#{key}</code> in <code>#{locale.to_s}</code> was found. The text that was rendered to the user was:</p><blockquote>#{str||'nil'}</blockquote>",
"<p>A translation for <code>#{key}</code> in <code>#{locale.to_s}</code> was found. The text that was rendered to the user was:</p><blockquote>#{str||'nil'}</blockquote>",
exception.to_s,
exception.to_s,
@ -636,6 +636,14 @@ class ApplicationController < BaseController
# send the confirmation email and make sure it get sent as quickly as possible
# send the confirmation email and make sure it get sent as quickly as possible