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

Improve add field to view script to handle errors #6232

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

ijreilly
Copy link
Collaborator

Adding logs and catching errors to continue not to block the script execution if the command fails for one workspace

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

  • Added logging to packages/twenty-server/src/database/commands/0-22-add-new-address-field-to-views-with-deprecated-address.command.ts
  • Implemented error handling to prevent script blocking on individual workspace errors

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

@ijreilly ijreilly merged commit ad5d090 into main Jul 12, 2024
6 checks passed
@ijreilly ijreilly deleted the imrove-add-field-view-script branch July 12, 2024 08:22
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