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/16 10:35:24 UTC

[GitHub] [airflow] leonsmith commented on a change in pull request #18261: Add in before_send config option to sentry integration

leonsmith commented on a change in pull request #18261:
URL: https://github.com/apache/airflow/pull/18261#discussion_r709994802



##########
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:
       Good suggestion, switched it to use getimport.




-- 
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