As
http://forum.plantuml.net/8086 shows, there error cases when puml calculates the needed error-image height a couple of pixels short, which may lead to confusion.
I think it would be best to also print out the errors to STDERR, in addition to the output image.