Add log message for production debug

parent e7d451a0
......@@ -52,6 +52,7 @@ async function createAndPersitServerSecretIfItDoesntAlreadyExist () {
// running under.
await fs.writeJson(app.get('serverSecretFilePath'), serverSecretObject)
} catch (error) {
logger.error(error)
throw new Error('Could not persist the server secret.', error)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment