ZE-FTP: Avoid throwing empty error when we know the reason of the failure #2143
Labels
enhancement
New feature or request
priority-low
Legit issue but cosmetic or nice-to-have
Technical Debt
Includes Architecture, Code, Testing, Automation debt
There are multiple instances where we throw empty error in the FTP extension.
Since we know what happened, it'd be good to throw the error in case other APIs are expecting more information.
Example:
https://github.com/zowe/vscode-extension-for-zowe/blob/4aa6d95ec6d86a9cd818a6fb19b6c4d8e172de79/packages/zowe-explorer-ftp-extension/src/ZoweExplorerFtpUssApi.ts#L76
The text was updated successfully, but these errors were encountered: