diff --git a/src/core/Boot.js b/src/core/Boot.js index 542bdcd..62c6de3 100644 --- a/src/core/Boot.js +++ b/src/core/Boot.js @@ -1,3 +1,4 @@ +import { Ut } from '../utils/Ut'; import { Rt } from './Rt'; import { dxReady, EvtOptions } from '../utils/dom'; @@ -46,7 +47,7 @@ export class Boot { callback(); - }).catch(err => Boot.log(`Module Err: ${err}`)); + }).catch(err => Boot.log(err) ); }); } @@ -102,10 +103,10 @@ export class Boot { /** * App Log */ - static log(msg) { + static log(err) { if (Boot.DEBUG) { - console.log(msg); + console.log(err); } } } \ No newline at end of file