handle the internal error while capturing an active tab.