Skip to content

Commit

Permalink
fix: add mayurkale22 recommendations
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Albertini <[email protected]>
  • Loading branch information
OlivierAlbertini committed Sep 20, 2019
1 parent 0d83aa0 commit 56624e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-http/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ export class Utils {
}

/**
* Set the span with the error passed in params
* @param {Error} error error that will be set to span
* Sets the span with the error passed in params
* @param {Span} span the span that need to be set
* @param {Error} error error that will be set to span
* @param {(IncomingMessage | ClientRequest)} [obj] used for enriching the status by checking the statusCode.
*/
static setSpanWithError(
Expand Down

0 comments on commit 56624e3

Please sign in to comment.