mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
Attempt to improve an error message
Replace the 'Unknown failure' error message with something a little bit more descriptive. * src/util/virterror.c: Improve error message
This commit is contained in:
parent
4f805dcdc4
commit
d6d30cd4ae
@ -245,7 +245,7 @@ virErrorGenericFailure(virErrorPtr err)
|
|||||||
err->code = VIR_ERR_INTERNAL_ERROR;
|
err->code = VIR_ERR_INTERNAL_ERROR;
|
||||||
err->domain = VIR_FROM_NONE;
|
err->domain = VIR_FROM_NONE;
|
||||||
err->level = VIR_ERR_ERROR;
|
err->level = VIR_ERR_ERROR;
|
||||||
err->message = strdup(_("Unknown failure"));
|
err->message = strdup(_("An error occurred, but the cause is unknown"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user