Skip to content

[mtp] Improve error when trying to copy from/to a nonexistant mtp device

Nicolas Fella requested to merge work/mtpcopy into master

If the device udi is not found we are currently throwing ERR_MALFORMED_URL, which is quite confusing because the URL is syntactically perfectly valid

Instead use ERR_DOES_NOT_EXIST like we do for the other functions in that case

CCBUG: 457531

Merge request reports