file-obj-queue
Advanced tools
Comparing version 1.0.18 to 1.0.19
32
app.js
@@ -29,2 +29,5 @@ /* @author Jim Manton: jrman@risebroadband.net | ||
} | ||
t.logMsg(`file-obj-queue.constructor`) | ||
return t | ||
} | ||
@@ -91,9 +94,24 @@ | ||
throw new Error('props.input_data is not defined') | ||
t.qJson = new queue({ | ||
class_obj: file_obj, | ||
appender: 'all', | ||
stats: true, | ||
debug: true | ||
}) | ||
t.qJson.init({ input_data: props.input_data }).process() | ||
try { | ||
t.logMsg(`jrm debug 1/29 1000`) | ||
t.qJson = new queue({ | ||
class_obj: file_obj, | ||
appender: 'all', | ||
stats: true, | ||
debug: true | ||
}) | ||
t.logMsg(`jrm debug 1/29 1001`) | ||
} catch (e) { | ||
e.message = "queuejson error: " + e.message | ||
t.logMsg(e.message) | ||
throw (e) | ||
} | ||
try { | ||
t.qJson.init({ input_data: props.input_data }) | ||
} catch (e) { | ||
e.message = "queuejson.init error: " + e.message | ||
t.logMsg(e.message) | ||
throw (e) | ||
} | ||
t.qJson.process() | ||
return t | ||
@@ -100,0 +118,0 @@ } catch (e) { |
@@ -5,3 +5,3 @@ { | ||
}, | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"bundleDependencies": [], | ||
@@ -14,3 +14,3 @@ "dependencies": { | ||
"node-console-colors": "^1.1.4", | ||
"queuejson": "^9.0.3", | ||
"queuejson": "^9.0.4", | ||
"valid-path": "^2.1.0" | ||
@@ -17,0 +17,0 @@ }, |
@@ -9,3 +9,3 @@ const assert = require('assert'), | ||
}, | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"bundleDependencies": [], | ||
@@ -18,3 +18,3 @@ "dependencies": { | ||
"node-console-colors": "^1.1.4", | ||
"queuejson": "^9.0.3", | ||
"queuejson": "^9.0.4", | ||
"valid-path": "^2.1.0" | ||
@@ -21,0 +21,0 @@ }, |
Sorry, the diff of this file is not supported yet
22989
520
Updatedqueuejson@^9.0.4