Skip to content

Commit

Permalink
Update errors.rst (#24412)
Browse files Browse the repository at this point in the history
Fix wording in some sentences

(cherry picked from commit 5d5976c)
  • Loading branch information
dojoscan authored and ephraimbuddy committed Jun 29, 2022
1 parent fa50004 commit 717ccb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/apache-airflow/logging-monitoring/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ First you must install sentry requirement:
pip install 'apache-airflow[sentry]'
After that, you need to enable the integration by set ``sentry_on`` option in ``[sentry]`` section to ``True``.
After that, you need to enable the integration by setting the ``sentry_on`` option in the ``[sentry]`` section to ``True``.

Add your ``SENTRY_DSN`` to your configuration file e.g. ``airflow.cfg`` in ``[sentry]`` section. Its template resembles the following: ``{PROTOCOL}://{PUBLIC_KEY}@{HOST}/{PROJECT_ID}``

Expand Down Expand Up @@ -87,7 +87,7 @@ Name Description
Impact of Sentry on Environment variables passed to Subprocess Hook
-------------------------------------------------------------------

When Sentry is enabled, by default it changes standard library to pass all environment variables to
When Sentry is enabled, by default it changes the standard library to pass all environment variables to
subprocesses opened by Airflow. This changes the default behaviour of
:class:`airflow.hooks.subprocess.SubprocessHook` - always all environment variables are passed to the
subprocess executed with specific set of environment variables. In this case not only the specified
Expand Down

0 comments on commit 717ccb2

Please sign in to comment.