You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/15 20:31:11 UTC
[GitHub] [airflow] mik-laj commented on a change in pull request #18261: Add in before_send config option to sentry integration
mik-laj commented on a change in pull request #18261:
URL: https://github.com/apache/airflow/pull/18261#discussion_r709550175
##########
File path: airflow/sentry.py
##########
@@ -107,6 +107,9 @@ def __init__(self):
", ".join(unsupported_options),
)
+ if sentry_config_opts.get('before_send'):
+ sentry_config_opts['before_send'] = import_string(sentry_config_opts['before_send'])
Review comment:
Can you use `conf.getimport`? Thanks to this, we will have a more friendly error message.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org