added submission id to error entries
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user