This commit is contained in:
liufumingren 2026-09-21 17:41:51 +08:00
parent 731cd17802
commit f0dfb0b156

View File

@ -536,8 +536,9 @@ class Index extends Frontend
return $this->view->fetch('auth_waiting');
} catch (\Exception $e) {
\think\Log::error('授权回调处理异常:' . $e->getMessage());
return view('error', ['msg' => '系统处理异常,请稍后重试']);
\think\Log::error('授权回调处理异常:' . $e->getMessage() . ' @ ' . $e->getFile() . ':' . $e->getLine() . "\n" . $e->getTraceAsString());
// 调试期直接输出异常信息
return view('error', ['msg' => $e->getMessage() . ' @ ' . basename($e->getFile()) . ':' . $e->getLine()]);
}
}
public function auth($state)