Skip to content

Conversation

@philnash
Copy link
Contributor

Fixes #185.

When using the twilio-run debugger within the serverless plugin, redaction wasn't working. I thought this might be because the debug module was being overwritten. Looking at where the formatters are added, the resultant debug object was never exported and used.

Exporting this debugger and explicitly using it brought the formatter back in the plugin.

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

Fixes #185.

When using the twilio-run debugger within the serverless plugin, redaction wasn't working. I thought this might be because the debug module was being overwritten. Looking at where the formatters are added, the resultant debug object was never exported and used.

Exporting this debugger and explicitly using it brought the formatter back in the plugin.
@philnash philnash requested a review from dkundel September 10, 2020 02:01
@dkundel dkundel merged commit 4a0c04b into main Sep 10, 2020
@dkundel dkundel deleted the debug-formatter branch September 10, 2020 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Context log redaction isn't working as expected

3 participants