fix: Handle exception during viewlet rendering process

log the exception and display an error message. This will be
better than just make the page becomes a stack trace