Skip to content

Commit dbce9d0

Browse files
committed
flush shared context
1 parent 8bb98e3 commit dbce9d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Illuminate/Queue/QueueServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ protected function registerWorker()
198198
};
199199

200200
$resetScope = function () use ($app) {
201+
$app['log']->flushSharedContext();
202+
201203
if (method_exists($app['log'], 'withoutContext')) {
202204
$app['log']->withoutContext();
203205
}

0 commit comments

Comments
 (0)