mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-09 07:46:39 +00:00
Return a more useful error if USB recovery() failed
This commit is contained in:
parent
baef005a3c
commit
c7ab395ff4
@ -681,10 +681,10 @@ fu_device_retry_full(FuDevice *self,
|
|||||||
if (!rec->recovery_func(self, user_data, error))
|
if (!rec->recovery_func(self, user_data, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else {
|
} else {
|
||||||
g_set_error(error,
|
g_propagate_prefixed_error(
|
||||||
G_IO_ERROR,
|
error,
|
||||||
G_IO_ERROR_FAILED,
|
g_steal_pointer(&error_local),
|
||||||
"device recovery not possible");
|
"device recovery not possible: ");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user