diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c index 276a7042..221dee73 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -295,7 +295,9 @@ main(int argc, char** argv) status = serd_reader_start_file(reader, input, bulk_read); } - if (!status) { + if (status) { + SERDI_ERRORF("failed to start stream: %s\n", serd_strerror(status)); + } else { status = serd_reader_read_document(reader); } |