-
Notifications
You must be signed in to change notification settings - Fork 0
Added hotjar only on production #25
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…n and consolidate the functionality into the executeFunction function. The executeFunction function now takes an additional parameter isMarketplace to determine whether to fetch the function from the user's functions or from the marketplace. The runCodeSandbox function now calls executeFunction with the isMarketplace parameter. The executeFunctionMarketplace function is deleted as it is no longer needed. Some logging statements are also modified for consistency.
This commit refactors the error handling in the CodeSandboxForm component and the run function. In CodeSandboxForm, the error message displayed when code execution fails has been updated to "Failed to execute function" instead of "Failed to update function". In the run function, a try-catch block has been added around the code execution in the sandbox. If an error occurs, it is caught and added to the analytics outputs with the type 'error'. The outputs and result are then returned. This improves the error handling and provides more detailed error messages when executing code.
…ed the "border-b border-white/5" class from the header element, resulting in a cleaner design. This change does not affect the functionality of the component but improves the visual appearance.
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
chozzz
added a commit
that referenced
this pull request
Nov 24, 2024
* Refactor code to remove the unused executeFunctionMarketplace function and consolidate the functionality into the executeFunction function. The executeFunction function now takes an additional parameter isMarketplace to determine whether to fetch the function from the user's functions or from the marketplace. The runCodeSandbox function now calls executeFunction with the isMarketplace parameter. The executeFunctionMarketplace function is deleted as it is no longer needed. Some logging statements are also modified for consistency. * Refactor loggers and fix issue with function metrics logging * Refactor error handling in CodeSandboxForm and run function This commit refactors the error handling in the CodeSandboxForm component and the run function. In CodeSandboxForm, the error message displayed when code execution fails has been updated to "Failed to execute function" instead of "Failed to update function". In the run function, a try-catch block has been added around the code execution in the sandbox. If an error occurs, it is caught and added to the analytics outputs with the type 'error'. The outputs and result are then returned. This improves the error handling and provides more detailed error messages when executing code. * Added back assistant route disabled swagger comment * Fix env var section state between edit and new * Move out integrations to a new page * Refactored the header section in the settings layout component. Removed the "border-b border-white/5" class from the header element, resulting in a cleaner design. This change does not affect the functionality of the component but improves the visual appearance. * Added hotjar only on production
chozzz
added a commit
that referenced
this pull request
Nov 25, 2024
* Refactor code to remove the unused executeFunctionMarketplace function and consolidate the functionality into the executeFunction function. The executeFunction function now takes an additional parameter isMarketplace to determine whether to fetch the function from the user's functions or from the marketplace. The runCodeSandbox function now calls executeFunction with the isMarketplace parameter. The executeFunctionMarketplace function is deleted as it is no longer needed. Some logging statements are also modified for consistency. * Refactor loggers and fix issue with function metrics logging * Refactor error handling in CodeSandboxForm and run function This commit refactors the error handling in the CodeSandboxForm component and the run function. In CodeSandboxForm, the error message displayed when code execution fails has been updated to "Failed to execute function" instead of "Failed to update function". In the run function, a try-catch block has been added around the code execution in the sandbox. If an error occurs, it is caught and added to the analytics outputs with the type 'error'. The outputs and result are then returned. This improves the error handling and provides more detailed error messages when executing code. * Added back assistant route disabled swagger comment * Fix env var section state between edit and new * Move out integrations to a new page * Refactored the header section in the settings layout component. Removed the "border-b border-white/5" class from the header element, resulting in a cleaner design. This change does not affect the functionality of the component but improves the visual appearance. * Added hotjar only on production
chozzz
added a commit
that referenced
this pull request
Dec 9, 2024
* Refactor code to remove the unused executeFunctionMarketplace function and consolidate the functionality into the executeFunction function. The executeFunction function now takes an additional parameter isMarketplace to determine whether to fetch the function from the user's functions or from the marketplace. The runCodeSandbox function now calls executeFunction with the isMarketplace parameter. The executeFunctionMarketplace function is deleted as it is no longer needed. Some logging statements are also modified for consistency. * Refactor loggers and fix issue with function metrics logging * Refactor error handling in CodeSandboxForm and run function This commit refactors the error handling in the CodeSandboxForm component and the run function. In CodeSandboxForm, the error message displayed when code execution fails has been updated to "Failed to execute function" instead of "Failed to update function". In the run function, a try-catch block has been added around the code execution in the sandbox. If an error occurs, it is caught and added to the analytics outputs with the type 'error'. The outputs and result are then returned. This improves the error handling and provides more detailed error messages when executing code. * Added back assistant route disabled swagger comment * Fix env var section state between edit and new * Move out integrations to a new page * Refactored the header section in the settings layout component. Removed the "border-b border-white/5" class from the header element, resulting in a cleaner design. This change does not affect the functionality of the component but improves the visual appearance. * Added hotjar only on production
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.