From 8719d91abd7ea2e2a0542c6057394b490de8aeed Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Thu, 20 Apr 2017 22:40:26 +0200 Subject: [PATCH] Added todo for errorhandling --- src/seasoned/strayRepository.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/seasoned/strayRepository.js b/src/seasoned/strayRepository.js index 297c0aa..9bfe0d1 100644 --- a/src/seasoned/strayRepository.js +++ b/src/seasoned/strayRepository.js @@ -47,6 +47,7 @@ class StrayRepository { pythonShell.run('moveSeasoned.py', options, function (err, results) { if (err) throw err; + // TODO Add error handling!! StrayRepository.ERROR // results is an array consisting of messages collected during execution console.log('results: %j', results); });