add a try/catch block around nodeCapsuled methods call