core: fix processing try/catch in other catch