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

Display command logs on boot error #6414

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

charlesBochet
Copy link
Member

@charlesBochet charlesBochet commented Jul 25, 2024

As per title

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This pull request enhances error logging by displaying command logs on boot errors and improves code readability through import reordering.

  • Enhanced Logging: Added logger configuration in packages/twenty-server/src/command/command.ts to capture 'error', 'warn', and 'log' levels.
  • Import Reordering: Improved readability by reordering import statements in packages/twenty-server/src/command/command.ts, packages/twenty-server/src/database/commands/data-seed-dev-workspace.command.ts, and packages/twenty-server/src/main.ts.
  • No Functional Changes: The changes in data-seed-dev-workspace.command.ts and main.ts do not alter functionality, focusing solely on import statement organization.

3 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@charlesBochet charlesBochet merged commit d022837 into main Jul 25, 2024
6 checks passed
@charlesBochet charlesBochet deleted the display-command-logs-on-boot-error branch July 25, 2024 15:53
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