mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 20:11:08 +00:00
- Fix regex pattern escaping in trailing slash removal (use forward slash instead of escaped forward slash) - Declare taskId outside try block to ensure it's accessible in catch block for proper error handling - Update onTaskFailed callback to pass taskId instead of folderName for consistency with task tracking - Add guard condition to only call onTaskFailed when taskId exists (task was successfully created) - Prevents undefined taskId from being passed to error callbacks and improves error state management