Skip to content

Commit

Permalink
Improve logging on loading source 👻
Browse files Browse the repository at this point in the history
  • Loading branch information
pirelenito committed Apr 14, 2017
1 parent 60ef044 commit 94309c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 94309c8

Please sign in to comment.