From 858d7d9bcab2964d1b3243c9eda01694670891a3 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 27 Feb 2020 14:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E6=B5=8B=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/games_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index 4c9e7fc0e..1649e3eb9 100644 --- a/app/controllers/games_controller.rb +++ b/app/controllers/games_controller.rb @@ -691,7 +691,7 @@ class GamesController < ApplicationController next_game: next_game&.identifier} rescue Exception => e uid_logger("choose build failed #{e.message}") - @result = [status: -1, contents: "#{e.message}"] + tip_exception(-1, e.message) end # 轮询获取状态