Closed DenisCarriere closed 11 months ago
Oh.. the issue was because the HOST
url was using http://
instead of https://
🤷 perhaps there's a way we can improve error messages on /init
instead of doing a catch all
export default async function () {
try {
await ping();
await createDatabase(config.database);
await initializeDefaultTables();
return toText("OK");
} catch (e: any) {
logger.error(e.message);
return BadRequest;
}
}
I have replaced the try-catch block with controlled response objects. The logs are much better and separated for each step.
Perfect 👌
Closed by #85
Assuming this is because AUTH_KEY is not being provided, it throws an error?
.env
Another logging error =>