TODO about subprocess error handling

This commit is contained in:
Juan Cruz Viotti 2015-01-29 13:17:26 -04:00
parent 4790fe3a5e
commit 159a586e08

View File

@ -6,6 +6,8 @@ require('coffee-script/register');
var device = require('../lib/actions/device.coffee'); var device = require('../lib/actions/device.coffee');
var errors = require('../lib/errors/errors'); var errors = require('../lib/errors/errors');
// TODO: Do some error handling when image or device are incorrect
device.init.action({ device.init.action({
image: process.argv[2], image: process.argv[2],
device: process.argv[3] device: process.argv[3]