main.py672 chars26 linesIn the example above, we define a custom decorator called with_sentry_logging that takes a raven client as a parameter. This decorator wraps a function and captures any exceptions that occur within the function using client.captureException(). We then apply this decorator to our my_dagster_op function.
gistlibby LogSnag