diff --git a/app/models/remote_sandbox.rb b/app/models/remote_sandbox.rb index cc475f496..e472670fd 100644 --- a/app/models/remote_sandbox.rb +++ b/app/models/remote_sandbox.rb @@ -45,6 +45,10 @@ def self.try_to_send_submission_to_free_server(submission, notify_url) rescue SandboxUnavailableError => e Rails.logger.warn e # ignore + rescue InternalSandboxError => e + Rails.logger.warn e + Rails.logger.warn "Encountered InternalSandboxError. Leaving to reprocessor daemon." + return true else Rails.logger.info "Submission #{submission.id} sent to remote sandbox at #{server.baseurl}" Rails.logger.debug "Notify url: #{notify_url}"