Skip to content
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

permissions exception when executing job #655

Open
volodymyrss opened this issue Feb 12, 2024 · 2 comments
Open

permissions exception when executing job #655

volodymyrss opened this issue Feb 12, 2024 · 2 comments
Assignees

Comments

@volodymyrss
Copy link
Member

could you please investigate? check which code can generate this error and see if sentry is sufficient to understand why.

if sentry is not sufficient, add something to sentry

https://cdci.sentry.io/issues/4968462221/?alert_rule_id=723253&alert_timestamp=1707729041336&alert_type=email&environment=production&notification_uuid=c318c4ac-c113-4888-bbc4-ba9e1a22aa7a&project=1467382&referrer=alert_email

@burnout87
Copy link
Collaborator

burnout87 commented Feb 12, 2024

More information regarding the raised exception (e.message) are passed as an arg that then is not passed to sentry nor logged within the set_query_exception function in case of the exception:

except RequestNotAuthorized as e:
return self.build_response_failed(f'permissions exception when executing job {job.job_id}',
e.message,
status_code=e.status_code,
debug_message=e.debug_message)

to add more info for sentry and logging:

#656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants