don't print google api key to container logs on error
This commit is contained in:
parent
9e61d9029f
commit
cd1b9d0e0c
|
@ -396,7 +396,7 @@ export const init = async (onStop: () => void) => {
|
|||
await loadIndexSheet(false);
|
||||
await writeIndexSheet();
|
||||
} catch (e) {
|
||||
log.warn(e, "Could not load index sheet. Creating a new one.");
|
||||
log.warn({ error: e.message }, "Could not load index sheet. Creating a new one.");
|
||||
await createIndexSheet();
|
||||
}
|
||||
};
|
||||
|
|
|
@ -69,7 +69,7 @@ export const start = async () => {
|
|||
log.info("Logging backend initialized.");
|
||||
started = true;
|
||||
} catch (e) {
|
||||
log.error(e, "Could not initialize logging backend.");
|
||||
log.error({ error: e.message }, "Could not initialize logging backend.");
|
||||
return;
|
||||
}
|
||||
scheduleFlush();
|
||||
|
|
Loading…
Reference in New Issue