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 loadIndexSheet(false);
|
||||||
await writeIndexSheet();
|
await writeIndexSheet();
|
||||||
} catch (e) {
|
} 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();
|
await createIndexSheet();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -69,7 +69,7 @@ export const start = async () => {
|
||||||
log.info("Logging backend initialized.");
|
log.info("Logging backend initialized.");
|
||||||
started = true;
|
started = true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log.error(e, "Could not initialize logging backend.");
|
log.error({ error: e.message }, "Could not initialize logging backend.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
scheduleFlush();
|
scheduleFlush();
|
||||||
|
|
Loading…
Reference in New Issue