From 4d19f8d21d275e1f62e513aa0167699c57a10a3d Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 23 Jun 2021 11:42:32 +0200 Subject: [PATCH] this should return any promise returned, otherwise breaks tests --- src/logging/NullLogger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logging/NullLogger.js b/src/logging/NullLogger.js index 614dc291..202d01f3 100644 --- a/src/logging/NullLogger.js +++ b/src/logging/NullLogger.js @@ -31,9 +31,9 @@ export class NullLogger { wrapOrRun(item, _, callback) { if (item) { - item.wrap(null, callback); + return item.wrap(null, callback); } else { - this.run(null, callback); + return this.run(null, callback); } }