You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tauri): improve error handling and response mapping (#198)
* fix(tauri): improve error handling and response mapping
- Enhanced the WebDriver server's error handling by adding logging for runtime creation and binding failures, ensuring better diagnostics.
- Introduced a mapping for known JavaScript error messages to their corresponding W3C error codes, specifically handling "stale element reference."
- Added unit tests to verify the correct mapping of JavaScript errors and the behavior of the new error response methods.
* fix(tauri): enhance error handling in port allocation and logging
- Improved error handling in the PortManager class to release the first port if the second allocation fails, ensuring resource management.
- Updated logging messages in TauriWorkerService to provide clearer error context during plugin initialization and command overriding.
- Adjusted mock implementation in tests to validate the new error handling behavior in port allocation.
0 commit comments