detect locals in catch block params