Browse Source

Avoids logging query string on callback uri

main
Eric Amodio 2 years ago
parent
commit
fbe0caade5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/plus/subscription/serverConnection.ts

+ 2
- 1
src/plus/subscription/serverConnection.ts View File

@ -166,7 +166,8 @@ export class ServerConnection implements Disposable {
}
class UriEventHandler extends EventEmitter<Uri> implements UriHandler {
@log()
// Strip query strings from the Uri to avoid logging token, etc
@log<UriEventHandler['handleUri']>({ args: { 0: u => u.with({ query: '' }).toString(false) } })
public handleUri(uri: Uri) {
this.fire(uri);
}

Loading…
Cancel
Save