Display the error message in the widget instead of throwing an exception