* Fix defaultHandlerMissingMod for menu load error
This commit is contained in:
parent
28e9d826de
commit
58f4af0f11
|
@ -107,7 +107,7 @@ MenuStack.prototype.goto = function(name, options, cb) {
|
|||
|
||||
loadMenu(loadOpts, function menuLoaded(err, modInst) {
|
||||
if(err) {
|
||||
var errCb = cb || currentModuleInfo.instance.defaultHandlerMissingMod();
|
||||
var errCb = cb || self.client.defaultHandlerMissingMod();
|
||||
errCb(err);
|
||||
} else {
|
||||
// :TODO: Move this log to caller
|
||||
|
|
Loading…
Reference in New Issue