fix missing module error in sdk

This commit is contained in:
nightwing 2015-08-19 17:51:27 +04:00
parent 31dbc16d90
commit 7a78fa8b4c
2 changed files with 19 additions and 1 deletions

View File

@ -178,7 +178,7 @@ module.exports = function(config, optimist) {
readonly: readonly
},
"./c9.vfs.server/vfs.server",
"./c9.error/logger.raygun_mock",
"./c9.error/logger.raygun_noop",
"./c9.preview/preview.handler",
"./c9.vfs.server/cache",
"./c9.vfs.server/download",

View File

@ -0,0 +1,18 @@
"use strict";
plugin.consumes = [];
plugin.provides = ["error.logger"];
module.exports = plugin;
function plugin(options, imports, register) {
var noop = function() {};
register(null, {
"error.logger": {
log: noop,
error: noop,
warn: noop
}
});
}