nxp-imx / mfgtools

Freescale/NXP I.MX Chip image deploy tools.
BSD 3-Clause "New" or "Revised" License
523 stars 293 forks source link

trans: unmask libusb errors #417

Closed aleeraser closed 3 months ago

aleeraser commented 3 months ago

When using uuu it can happen that libusb operations sometimes return with an error code, which is currently masked.

This prints the error code and propagates it.

aleeraser commented 3 months ago

using help class string_ex

done 👍🏻