summaryrefslogtreecommitdiff
path: root/css/css.c
diff options
context:
space:
mode:
Diffstat (limited to 'css/css.c')
-rw-r--r--css/css.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/css/css.c b/css/css.c
index 66d0c7d4d..37e000370 100644
--- a/css/css.c
+++ b/css/css.c
@@ -286,8 +286,9 @@ bool css_convert(struct content *c, int width, int height)
token_data.length = current - token_text;
css_parser_(parser, token, token_data, &param);
if (param.syntax_error) {
- LOG(("syntax error near offset %i",
- token_text - source_data));
+ LOG(("syntax error near offset %i (%s)",
+ token_text - source_data,
+ c->url));
param.syntax_error = false;
} else if (param.memory_error) {
LOG(("out of memory"));