diff --git a/src/doodle3dbox.js b/src/doodle3dbox.js index 2e446d9..f49fadd 100644 --- a/src/doodle3dbox.js +++ b/src/doodle3dbox.js @@ -97,8 +97,10 @@ export default class Doodle3DBox extends EventDispatcher { const response = await this.printer.print(gcode, start, start); // maybe do something with failing response - console.log(`batch sent: ${ index }`, printRequest); + console.log(`batch sent: ${ index }`); } catch(error) { + console.log(`failed sending batch: ${ index }`); + await sleep(1000); await this._sendBatch(gcode, index);