added submission id to error entries

This commit is contained in:
Ralf Teusner
2015-06-08 14:50:13 +02:00
parent 13f13f5ecb
commit 69f7a93609

View File

@ -134,7 +134,7 @@ class SubmissionsController < ApplicationController
end end
def store_error(stderr) def store_error(stderr)
::Error.create(execution_environment_id: @submission.execution_environment.id, message: stderr) ::Error.create(submission_id: @submission.id, execution_environment_id: @submission.execution_environment.id, message: stderr)
end end
private :store_error private :store_error