trivial: Add some missing debug information when detaching

This commit is contained in:
Richard Hughes 2017-11-23 10:45:54 +00:00
parent 175635b916
commit 68327f3abd

View File

@ -1249,7 +1249,8 @@ dfu_device_detach (DfuDevice *device, GCancellable *cancellable, GError **error)
g_set_error (error,
FWUPD_ERROR,
FWUPD_ERROR_NOT_SUPPORTED,
"Already in DFU mode");
"Already in DFU mode; state is %s",
dfu_state_to_string (priv->state));
return FALSE;
}