diff --git a/src/logger.ts b/src/logger.ts index 9d2797bc..867eff4d 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -150,7 +150,7 @@ export function attach( } return Bluebird.using(lock(containerId), async () => { - logMonitor.attach(containerId, (message) => { + await logMonitor.attach(containerId, (message) => { log({ ...serviceInfo, ...message }); }); });