From 90051fff1c8e0839485ea7efbdbcb593fcd320c8 Mon Sep 17 00:00:00 2001 From: Ralf Teusner Date: Thu, 23 Apr 2015 14:56:55 +0200 Subject: [PATCH] minor bugfix --- app/controllers/submissions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/submissions_controller.rb b/app/controllers/submissions_controller.rb index 74ef224a..21bb26d4 100644 --- a/app/controllers/submissions_controller.rb +++ b/app/controllers/submissions_controller.rb @@ -81,7 +81,7 @@ class SubmissionsController < ApplicationController if hint = Whistleblower.new(execution_environment: @submission.execution_environment).generate_hint(output[:stderr]) server_sent_event.write(hint, event: 'hint') else - store_error(stderr) + store_error(output[:stderr]) end end end