diff --git a/src/routes/settings.js b/src/routes/settings.js index eb3d7cee7..121cc7cae 100644 --- a/src/routes/settings.js +++ b/src/routes/settings.js @@ -55,7 +55,7 @@ async function setTimeZone(req, res, next) { } async function getSupportConfig(req, res, next) { - const [error, supportConfig] = await settings.getSupportConfig(); + const [error, supportConfig] = await safe(settings.getSupportConfig()); if (error) return next(BoxError.toHttpError(error)); next(new HttpSuccess(200, supportConfig));