Print error message when something went wrong during renderer

Resolves #3