When PlantUML console tool encounters syntax error in a diagram it generates an image with error traceback like the following:

Is there a way to disable generating error images and possibly output the traceback into stderr instead?
---
I generate images from several source files with PlantUML CLI like this:
$ plantuml diag1.puml diag2.puml diag3.puml
Some of these diagrams may have faulty syntax, I need the faulty ones to be skipped.
I could parse the stderr and get faulty diagram names from there, but that's the last resort. I believe there should be a native option for mentioned behavior.