diff --git a/plugins/fastboot/fu-fastboot-device.c b/plugins/fastboot/fu-fastboot-device.c index 799e19763..50feec544 100644 --- a/plugins/fastboot/fu-fastboot-device.c +++ b/plugins/fastboot/fu-fastboot-device.c @@ -243,8 +243,10 @@ fu_fastboot_device_getvar (FuDevice *device, const gchar *key, gchar **str, GErr if (!fu_fastboot_device_writestr (device, tmp, error)) return FALSE; if (!fu_fastboot_device_read (device, str, - FU_FASTBOOT_DEVICE_READ_FLAG_NONE, error)) + FU_FASTBOOT_DEVICE_READ_FLAG_NONE, error)) { + g_prefix_error (error, "failed to getvar %s: ", key); return FALSE; + } return TRUE; }