完善delivery运行bug
This commit is contained in:
@@ -903,6 +903,8 @@ export class AkSupa {
|
||||
// 核心修复:在这里拦截英文错误并转换为中文
|
||||
if (rawMsg.includes('Invalid login credentials')) {
|
||||
msg = '用户名或密码错误';
|
||||
} else if (rawMsg.includes('Invalid authentication credentials')) {
|
||||
msg = '网关认证失败,请检查 delivery 端的 SUPA_URL 与 SUPA_KEY 是否属于同一套 Supabase 实例';
|
||||
} else if (rawMsg != '') {
|
||||
msg = rawMsg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user