Skip to content

Commit 2a9fbfd

Browse files
authored
Merge pull request #7 from grokability/better_scim_tracing
Record 'full URL' (including query strings) on SCIM traces
2 parents 9e8dd2d + 59c0caf commit 2a9fbfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Http/Controllers/ResourceController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function scimlog(Callable $function, Request $request, PolicyDecisionPoin
171171
$response_text = method_exists($response, 'toJson') ? $response->toJson() : $response; // very not sure about this; not sure if other responses will parse right - FIXME
172172
$logmsg = <<< EOF
173173
=====================================================================================
174-
{$request->method()} {$request->url()}
174+
{$request->method()} {$request->fullUrl()}
175175
176176
{$request->getContent()}
177177
-------------------------------------------------------------------------------------
@@ -184,7 +184,7 @@ public function scimlog(Callable $function, Request $request, PolicyDecisionPoin
184184
Log::channel('scimtrace')->error(<<<EOF
185185
=====================================================================================
186186
Exception caught! {$e->getMessage()} of type: $error_class when executing:
187-
{$request->method()} {$request->url()}
187+
{$request->method()} {$request->fullUrl()}
188188
189189
{$request->getContent()}
190190
EOF);

0 commit comments

Comments
 (0)