Permalink
Browse files

Fixed output/return error text

  • Loading branch information...
1 parent 14dfa25 commit 8fcc47065471027742af022067844bf2ce40b52e David Davis committed Apr 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/classes/code_executor.rb
@@ -38,7 +38,7 @@ def execute
if result == "<timeout hit>"
@errors << "Your solution timed out."
elsif result != @uid && @errors.empty?
- @errors << "Solution contained unexpected output or returned prematurely#{Rails.env.prodution? ? '.' : ": #{result}"}"
+ @errors << "Solution contained unexpected output or returned prematurely: #{result}"
end
return @errors.empty?

0 comments on commit 8fcc470

Please sign in to comment.