Skip to content

Commit f63c0f9

Browse files
committed
minor #118 Add "action" data to context (Nyholm)
This PR was merged into the master branch. Discussion ---------- Add "action" data to context This will help with debugging Commits ------- 55bb022 Add "action" data to context
2 parents 12bcbdc + 55bb022 commit f63c0f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Service/GitHubRequestHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public function handle(Request $request)
8080

8181
$this->logger->info('Done handling request', [
8282
'event' => $eventName,
83+
'action' => $data['action'] ?? 'unknown',
8384
'response-data' => json_encode($responseData),
8485
'repository' => $repositoryFullName,
8586
'issue-number' => $data['number'] ?? $data['issue']['number'] ?? $data['pull_request']['number'] ?? 'unknown',

0 commit comments

Comments
 (0)