mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -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"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user