Added todo for errorhandling

This commit is contained in:
2017-04-20 22:40:26 +02:00
parent 74004533e9
commit 8719d91abd

View File

@@ -47,6 +47,7 @@ class StrayRepository {
pythonShell.run('moveSeasoned.py', options, function (err, results) { pythonShell.run('moveSeasoned.py', options, function (err, results) {
if (err) throw err; if (err) throw err;
// TODO Add error handling!! StrayRepository.ERROR
// results is an array consisting of messages collected during execution // results is an array consisting of messages collected during execution
console.log('results: %j', results); console.log('results: %j', results);
}); });