allow author manager to use custom error module
This commit is contained in:
parent
3e1e92c100
commit
bf1e1c3007
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue