ref: 1e529dae29361055228348a4864c403b7914da0f
parent: 774b1921257a4f2093733e41c34fd5d9896b351a
author: Noam Preil <[email protected]>
date: Thu Apr 7 20:17:44 EDT 2022
op: improve error reporting
--- a/op.c
+++ b/op.c
@@ -1315,8 +1315,9 @@
return 0;
}
pdfobjfree(o);
+ werrstr("unimplemented or error not reported properly");
if(!op->f(op, p)){
- fprint(2, "'%s' failed!\n", op->s);
+ werrstr("renderer: %s failed: %r", op->s);
return 0;
}
if(!stackreset(p))