-
Notifications
You must be signed in to change notification settings - Fork 0
Update sentry.filter.ts #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -26,8 +26,10 @@ export class SentryService implements OnApplicationBootstrap, OnApplicationShutd | |||||||||
| return Sentry.close(); | ||||||||||
| } | ||||||||||
|
|
||||||||||
| captureException(exception: Error) { | ||||||||||
| Sentry.captureException(exception); | ||||||||||
| captureException(exception: Error,flag: any) { | ||||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Issue: New flag parameter in captureException method Reason: The captureException method now includes a new 'flag' parameter that conditionally calls Sentry.captureException. Affected dependencies: Suggestion: Ensure all callers of captureException provide the new 'flag' parameter. Consider using a boolean type for the flag instead of any. Required changes in dependencies:
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Issue: The Reason: Adding a new parameter changes the method signature, requiring all dependent files to update their calls to this function. If they do not provide the new parameter, it will result in a runtime error or unexpected behavior. Affected dependencies: Suggestion: Check all instances where Required changes in dependencies:
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
hey i am yashwanth |
||||||||||
| if(flag=='true'){ | ||||||||||
| Sentry.captureException(exception); | ||||||||||
| } | ||||||||||
| } | ||||||||||
|
|
||||||||||
| captureMessage(message: string, captureContext?: CaptureContext) { | ||||||||||
|
|
||||||||||
Uh oh!
There was an error while loading. Please reload this page.