Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

feat: Allow Sentry extension to catch errors generated by Tasks #653

Merged
merged 1 commit into from
Sep 25, 2022

Conversation

silasary
Copy link
Collaborator

@silasary silasary commented Sep 25, 2022

What type of pull request is this?

  • Non-breaking code change
  • Breaking code change
  • Documentation change/addition
  • Tests change

Description

Allows Sentry extension to catch Task errors, by installing a hook over a dedicated nop method.

It's theoretically gross, but it's the best idea we came up with.

Changes

Added nop method to Task
Added hook to Sentry.

Checklist

  • I've formatted my code with Black
  • I've ensured my code works on Python 3.10.x
  • I've tested my code

@LordOfPolls LordOfPolls merged commit 0b1272d into dev Sep 25, 2022
@silasary silasary deleted the sentry-tasks branch October 27, 2022 04:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants