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