diff --git a/src/server/services/cncengine/CNCEngine.js b/src/server/services/cncengine/CNCEngine.js index 6c4f0f3b1..634205e91 100644 --- a/src/server/services/cncengine/CNCEngine.js +++ b/src/server/services/cncengine/CNCEngine.js @@ -496,8 +496,8 @@ class CNCEngine { console.log('Flash started for HAL'); try { halFlasher.flash(data); - } catch (e) { - this.emit('flash:message', { type: 'Error', content: err}); + } catch (err) { + this.emit('flash:message', { type: 'Error', content: err }); } }); return;