diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c index 0b0c2360..7d82d8ca 100644 --- a/src/reader.c +++ b/src/reader.c @@ -37,7 +37,9 @@ r_err(SerdReader* reader, SerdStatus st, const char* fmt, ...) { va_list args; va_start(args, fmt); - const SerdMessage msg = { st, &reader->source.cur, fmt, &args }; + const SerdMessage msg = { + st, SERD_LOG_LEVEL_ERROR, &reader->source.cur, fmt, &args + }; serd_world_error(reader->world, &msg); va_end(args); return st; |