Commit 466de6c0 authored by Averor's avatar Averor

LoggingMiddleware: added context

parent 4ded03c3
Pipeline #29103274 passed with stage
in 2 minutes and 23 seconds
......@@ -34,7 +34,10 @@ class LoggingMiddleware implements QueryBusMiddleware
sprintf(
"Dispatching query %s",
get_class($query)
)
),
[
'message' => $query
]
);
$result = $next($query);
......@@ -44,7 +47,10 @@ class LoggingMiddleware implements QueryBusMiddleware
sprintf(
"Query %s dispatched",
get_class($query)
)
),
[
'message' => $query
]
);
return $result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment