Here you catch an exception but above in get_widget_html not. Why this? Is there a case where the attribute is missing?