summaryrefslogtreecommitdiff
path: root/lib/web/imageRouter/imgur.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/web/imageRouter/imgur.js')
-rw-r--r--lib/web/imageRouter/imgur.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/imageRouter/imgur.js b/lib/web/imageRouter/imgur.js
index 31d5f55c..2a20002c 100644
--- a/lib/web/imageRouter/imgur.js
+++ b/lib/web/imageRouter/imgur.js
@@ -11,7 +11,7 @@ exports.uploadImage = function (imagePath, callback) {
}
if (!callback || typeof callback !== 'function') {
- callback(new Error('Callback has to be a function'), null)
+ logger.error('Callback has to be a function')
return
}