mirror of https://gitee.com/openkylin/libvirt.git
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->domain = VIR_FROM_NONE;
|
||||
err->level = VIR_ERR_ERROR;
|
||||
err->message = strdup(_("Unknown failure"));
|
||||
err->message = strdup(_("An error occurred, but the cause is unknown"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue