Explorar o código

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

gwang %!s(int64=4) %!d(string=hai) anos
pai
achega
16cf6d42e3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)));                               # 直接返回错误信息  
 }
 
 /**