print widget type on error