mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
[markup] Print the unparseable text on error
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
046c54a118
commit
7a4237f34f
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ markup_parse(markup_parser_data_t *data, const char *str, ssize_t slen)
|
|||
|| !g_markup_parse_context_parse(mkp_ctx, "</markup>", -1, &error)
|
||||
|| !g_markup_parse_context_end_parse(mkp_ctx, &error))
|
||||
{
|
||||
warn("unable to parse text: %s\n", error->message);
|
||||
warn("unable to parse text \"%s\": %s\n", str, error->message);
|
||||
g_error_free(error);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue