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

Refactor suggestion for configuring Mongoose debug mode #3673

Open
coderabbitai bot opened this issue Oct 16, 2024 · 0 comments
Open

Refactor suggestion for configuring Mongoose debug mode #3673

coderabbitai bot opened this issue Oct 16, 2024 · 0 comments
Assignees

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 16, 2024

In the current setup for Mongoose debug mode in src/auth-service/models/Maintenance.js, the code uses process.env.NODE_ENV !== "production". It is suggested to introduce a dedicated environment variable for more flexible control of debug mode.

See discussion in PR #3666: #3666 at comment: #3666 (comment).

Requested by @Baalmart.

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

No branches or pull requests

1 participant