Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop to Main #43

Merged
merged 6 commits into from
Jan 28, 2025
Merged

Develop to Main #43

merged 6 commits into from
Jan 28, 2025

Conversation

AlexanderLukin
Copy link

No description provided.

In the previous version, all messages were logged to the console via the
default JavaScript `console.log`. With this logging method, if some
error occurs during the interaction with a webhook, its content is
logged in the console as part of the error object.

In this version, we added Winston logger to the project with the logic
of cleaning secrets in logs. All webhook tokens are now added to the
secrets after the reading of the config file is completed.

Extend info that is printed to the log in case of errors. For
network-related errors print response status and request data, for all
errors print their stack trace.
Add mock `logger` instance to all tests that use context.
Format all multiple-line log messages in one line.
@AlexanderLukin AlexanderLukin merged commit 620feef into master Jan 28, 2025
6 checks passed
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.

2 participants