From 8d8cf2bd9a7af73a8772b9ea07ba8e434223d972 Mon Sep 17 00:00:00 2001 From: Sam Nicholls Date: Thu, 21 Mar 2013 00:05:35 +0000 Subject: [PATCH] onLoad errors no longer suppressed from console --- run.js | 1 + 1 file changed, 1 insertion(+) diff --git a/run.js b/run.js index d6237fc..6e040c0 100644 --- a/run.js +++ b/run.js @@ -293,6 +293,7 @@ DBot.prototype.reloadModules = function() { module.onLoad(); } catch(err) { this.status[name] = 'Error in onLoad: ' + err + ' ' + err.stack.split('\n')[1].trim(); + console.log('MODULE ONLOAD ERROR (' + name + '): ' + err ); } } }, this);