diff --git a/lib/intval/index.js b/lib/intval/index.js index 0e51e30..78d5b0b 100644 --- a/lib/intval/index.js +++ b/lib/intval/index.js @@ -83,7 +83,8 @@ class Intval { * that interupts the node process * */ - _undeclarePins () { + _undeclarePins (e) { + log.error(e) if (!this._pin) { log.warn('_undeclarePins', { reason : 'No pins'}) return process.exit() diff --git a/tests/index.js b/tests/index.js index bae1cb4..e09e086 100644 --- a/tests/index.js +++ b/tests/index.js @@ -1,7 +1,3 @@ 'use strict' -const intval = require('../lib/intval') - -setTimeout(() => { - intval.frame() -}, 3000) \ No newline at end of file +const intval = require('../lib/intval') \ No newline at end of file