]> khamidou — GitHub mirrors - electron.git/commit
Log errors in preload script instead of rethrowing
authorPaul Betts <paul@paulbetts.org>
Fri, 1 May 2015 23:10:45 +0000 (16:10 -0700)
committerPaul Betts <paul@paulbetts.org>
Fri, 1 May 2015 23:11:56 +0000 (16:11 -0700)
commite2ec50173f6483eae7290b9e482409569da32bea
tree55204e20b2d83b8c0967fb8d51237e48a680f375
parent4608f5e9cd4508db48a5df51b23401f79b0d4147
Log errors in preload script instead of rethrowing

At some point, unhandled errors in preload scripts stopped being logged
to console, meaning that preload scripts were very difficult to debug.
Instead, print the error to console (which is what we wanted to have
happen anyways)
atom/renderer/lib/init.coffee