aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/translate/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/translate/utils.ts b/src/plugins/translate/utils.ts
index 784ec25..493fb2c 100644
--- a/src/plugins/translate/utils.ts
+++ b/src/plugins/translate/utils.ts
@@ -59,7 +59,7 @@ export async function translate(kind: "received" | "sent", text: string): Promis
const res = await fetch(url);
if (!res.ok)
throw new Error(
- `Failed to translate "${text}" (${sourceLang} -> ${targetLang}`
+ `Failed to translate "${text}" (${sourceLang} -> ${targetLang})`
+ `\n${res.status} ${res.statusText}`
);