Fix cli.rb to report errors occuring inside node