diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index b5cd13439..4265844d9 100644 --- a/app/controllers/games_controller.rb +++ b/app/controllers/games_controller.rb @@ -138,7 +138,7 @@ class GamesController < ApplicationController else outputs = outputs.map{|result| [result.code, result.id]} end - render :json => {status: @game.status, output: latest_output, results: outputs, had_done: had_done} + render :json => {status: @game.status, output: "服务器网络异常", results: outputs, had_done: 0} end # 自动推送下一个任务