Skip to content

Commit

Permalink
appview: tweak repo error log line to not clobber 'service' (bluesky-…
Browse files Browse the repository at this point in the history
…social#891)

Somehow the output of this log line has been ending up in datadog under
the wrong 'service' (with the 'service' being an "wss://"-prefixed URL,
not "pds" or "bav" or whatever expected).

Tweaks the 'service' key, and some others that might have conflict.
  • Loading branch information
bnewbold authored May 2, 2023
1 parent 958c9ef commit 5fd71c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/pds/src/app-view/subscription/repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ export class RepoSubscription {
{
err,
seq: msg?.seq,
repo: msg?.repo,
commit: msg?.commit,
repoDid: msg?.repo,
repoCommit: msg?.commit,
time: msg?.time,
service: this.service,
subscriptionUrl: this.service,
},
'repo subscription errored',
)
Expand Down

0 comments on commit 5fd71c0

Please sign in to comment.