Closed vicb closed 3 months ago
[!CAUTION]
Review failed
The pull request is closed.
The recent updates to the libs/windy-sounding
library primarily focus on improving the handling of remote configuration loading. With the new version 4.1.1
, the code has been adjusted to log errors instead of throwing them when remote configurations cannot be loaded in a production environment. This helps in avoiding crashes and improves overall stability. Additionally, the version increment signifies small but important bug fixes and enhancements specifically tailored for generating alternative sounding graphs.
File | Change Summary |
---|---|
libs/windy-sounding/CHANGELOG.md |
Added a new version 4.1.1 with a fix for remote config loading to prevent errors. |
libs/windy-sounding/package.json |
Updated version from 4.1.0 to 4.1.1 , indicating minor bug fixes and improvements. |
libs/windy-sounding/src/redux/... |
Modified fetchPluginConfig to log errors instead of throwing them when remote config is not found in production; added dispatch actions in the else block when remoteConfig is falsy. |
In the code where winds do play,
Configurations safely sway,
No more errors shall arise,
Only logs beneath the skies.
Version bump, a bug’s delight,
Sounding graphs now pure as night.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This pull request addresses an issue where the application would throw an error if the remote configuration for a plugin could not be loaded. The changes ensure that instead of throwing an error, a console error message is logged, and the application state is updated accordingly. Additionally, the changelog has been updated to reflect this change.
Files | Changes |
---|---|
libs/windy-sounding/CHANGELOG.md libs/windy-sounding/src/redux/plugin-slice.ts |
Updated the changelog and modified the plugin configuration fetching logic to handle cases where the remote config cannot be loaded without throwing an error. |
Summary by Sourcery
This pull request addresses an issue where the application would throw an error if the remote plugin configuration could not be loaded. Instead, it now logs an error message and handles the situation gracefully.
Summary by CodeRabbit
Bug Fixes
Chores