Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
silvicir committed Oct 28, 2024
1 parent f854cde commit 1075cf1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export default function withAppInsights(func: HttpHandler) {
.getTracer("ApplicationInsightsTracer")
.startSpan(`${req.method} ${req.url}`, options, parentContext);
} catch (error) {
// If there is an error creating the span, just execute the function
return await func(req, invocationContext);
}

Expand Down

0 comments on commit 1075cf1

Please sign in to comment.