diff options
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/async.txt | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/docs/topics/async.txt b/docs/topics/async.txt index 8a9857a0df..6c9d35b533 100644 --- a/docs/topics/async.txt +++ b/docs/topics/async.txt @@ -401,17 +401,3 @@ trigger the thread safety checks: Rather, you should encapsulate all database access within a helper function that can be called with ``sync_to_async()`` without relying on the connection object in the calling code. - -Use with exception reporting filters ------------------------------------- - -.. warning:: - - Due to the machinery needed to cross the sync/async boundary, - ``sync_to_async()`` and ``async_to_sync()`` are **not** compatible with - :func:`~django.views.decorators.debug.sensitive_variables`, used to mask - local variables from exception reports. - - If using these adapters with sensitive variables, ensure to audit exception - reporting, and consider implementing a :ref:`custom filter - <custom-error-reports>` if necessary. |
