fix(errors): unify backend error protocol and preserve db detail
This commit is contained in:
1 parent
f1617bbd87
commit
c8c40ba839
24 files changed
+1197
-182
No files matched your search
@@ -3008,7 +3008,7 @@ async function aiTestConn() {
|
||||
aiTestResult.value = "success";
|
||||
} catch (e: any) {
|
||||
aiTestResult.value = "error";
|
||||
aiTestError.value = translateBackendError(t, e?.message || String(e));
|
||||
aiTestError.value = translateBackendError(t, e);
|
||||
} finally {
|
||||
aiTesting.value = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user