fix: Fix the error handling code for download
fix: Fix the error handling code for download

FX31337/FX-BT-Scripts,FX31337/FX-BT-Scripts,EA31337/FX-BT-Scripts,EA31337/FX-BT-Scripts,FX31337/FX-BT-Scripts,EA31337/FX-BT-Scripts