Added todo for errorhandling
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user