Skip to content

Commit

Permalink
fix missing correlationid in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cdupuis committed Jan 16, 2018
1 parent 8de78cd commit 8a20f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/transport/AbstractRequestProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export abstract class AbstractRequestProcessor implements RequestProcessor {
invocationId: string = guid(),
ts: number = Date.now()) {
return {
correlationId: _.get(request, "corrid") || _.get(request, "extensions.correlation_id"),
correlationId: _.get(request, "correlation_id") || _.get(request, "extensions.correlation_id"),
teamId: _.get(request, "team.id") || _.get(request, "extensions.team_id"),
teamName: _.get(request, "team.name") || _.get(request, "extensions.team_name"),
operation: _.get(request, "command") || _.get(request, "extensions.operationName"),
Expand Down

0 comments on commit 8a20f88

Please sign in to comment.