Catch errors if no menu is available