allow author manager to use custom error module

This commit is contained in:
John McLear 2013-10-03 14:45:23 +01:00
parent 3e1e92c100
commit bf1e1c3007
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@
var ERR = require("async-stacktrace"); var ERR = require("async-stacktrace");
var db = require("./DB").db; var db = require("./DB").db;
var async = require("async"); var async = require("async");
var customError = require("../utils/customError");
var randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString; var randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString;
exports.getColorPalette = function(){ exports.getColorPalette = function(){
@ -272,4 +273,4 @@ exports.removePad = function (authorID, padID)
db.set("globalAuthor:" + authorID, author); db.set("globalAuthor:" + authorID, author);
} }
}); });
} }