Try/catch added in plugin.