From bf1e1c3007c261e156cf162573684528bc20f00a Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 3 Oct 2013 14:45:23 +0100 Subject: [PATCH] allow author manager to use custom error module --- src/node/db/AuthorManager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node/db/AuthorManager.js b/src/node/db/AuthorManager.js index 667e0605..5ba608e9 100644 --- a/src/node/db/AuthorManager.js +++ b/src/node/db/AuthorManager.js @@ -22,6 +22,7 @@ var ERR = require("async-stacktrace"); var db = require("./DB").db; var async = require("async"); +var customError = require("../utils/customError"); var randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString; exports.getColorPalette = function(){ @@ -272,4 +273,4 @@ exports.removePad = function (authorID, padID) db.set("globalAuthor:" + authorID, author); } }); -} \ No newline at end of file +}