-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize code around DBM injection to make sure comments get inject…
…ed even if setting context fails (#6167) Currently, if the `set context_info` fails for some reason, there is no injection applied. We can make sure activating full mode doesn't cause any regression. Also moved the debug log before sending the query to the DB so that we can see what's happening in the debug logs if it fails. --------- Co-authored-by: Steven Bouwkamp <steven.bouwkamp@datadoghq.com>
- Loading branch information
Showing
2 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters