Improve modeler plugin error logging.

Fixes ZEN-7490.