Browse Source

fixed: 补充断言中的错误信息

gwang 4 năm trước cách đây
mục cha
commit
16cf6d42e3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Gameserver/Amfphp/main.php

+ 1 - 1
Gameserver/Amfphp/main.php

@@ -120,7 +120,7 @@ function Err($err, $msg = "") {
         CLog::err($msg);
         $err = ErrCode::err_innerfault;
     }
-    exit(Index::OverPass(Resp::err($err)));                                     # 直接返回错误信息  
+    exit(Index::OverPass(Resp::err($err, $msg)));                               # 直接返回错误信息  
 }
 
 /**