error handling for widget render
Merge pull request #225 from chris-held/master

error handling for widget render