From 94309c8532f31df72a0e407dfe3b87b6a53e927c Mon Sep 17 00:00:00 2001 From: Paulo Ragonha Date: Fri, 14 Apr 2017 21:07:28 +0200 Subject: [PATCH] =?UTF-8?q?Improve=20logging=20on=20loading=20source=20?= =?UTF-8?q?=F0=9F=91=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index de7df4a..a82f8a7 100644 --- a/index.js +++ b/index.js @@ -4,6 +4,10 @@ try { */ module.exports = require('./lib').default } catch (e) { + console.log('Unable to load compiled code.') + console.log(e) + console.log('Attempting to load source.') + /** * If the compiled code is not available, * load from source.