diff --git a/server/index.ts b/server/index.ts
index c4d34acfe..a2d7f8493 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -164,6 +164,13 @@ async function start(id: number, disconnect: () => void) {
ShutdownHelper.add("metrics", ShutdownOrder.last, () => Metrics.flush());
+ // Handle uncaught promise rejections
+ process.on("unhandledRejection", (error: Error) => {
+ Logger.error("Unhandled promise rejection", error, {
+ stack: error.stack,
+ });
+ });
+
// Handle shutdown signals
process.once("SIGTERM", () => ShutdownHelper.execute());
process.once("SIGINT", () => ShutdownHelper.execute());
diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json
index 287f4c9dc..a3fb56f09 100644
--- a/shared/i18n/locales/en_US/translation.json
+++ b/shared/i18n/locales/en_US/translation.json
@@ -573,7 +573,6 @@
"Custom link": "Custom link",
"The document will be accessible at <2>{{url}}2>": "The document will be accessible at <2>{{url}}2>",
"More options": "More options",
- "Custom domain": "Custom domain",
"Close": "Close",
"{{ teamName }} is using {{ appName }} to share documents, please login to continue.": "{{ teamName }} is using {{ appName }} to share documents, please login to continue.",
"Are you sure you want to delete the {{ documentTitle }} template?": "Are you sure you want to delete the {{ documentTitle }} template?",