]> cat aescling's git repositories - mastodon.git/commit
Catch import promise in application.js (#3041)
authorStephen Burgess <stephenburgess8@gmail.com>
Wed, 17 May 2017 00:59:43 +0000 (19:59 -0500)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 17 May 2017 00:59:43 +0000 (02:59 +0200)
commitabe0d9421f2bc6227360f9420aeac2cefbcdc023
treeb2f65bd3f68b52e3f3a024c2f962cbda7fbad044
parent7c1f3f8163d89b2b5ea0efbc16265771954c98bf
Catch import promise in application.js (#3041)

* fix(polyfil): Catch error from promise

https://pouchdb.com/2015/05/18/we-have-a-problem-with-promises.html

* fix(catch): Error

Make import promise catch a noop with commented out console.log for a debugging hint.

* fix(eslint): Disable eslint console rule

* fix(application): Use console error
app/javascript/packs/application.js