Skip to content

Commit 468ce5b

Browse files
committed
Fix syntax
1 parent 8f260fe commit 468ce5b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/helpers/hydrater.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ module.exports = function(hydraterFunction, logger, errLogger) {
210210
if(task.long_poll) {
211211
task.next(new restify.InvalidContentError("ERR hydrating " + ((task.file_path) ? task.file_path : task.document.id) + err.toString()));
212212
cb(null);
213-
} else {
213+
}
214+
else {
214215
var apiUrl = url.parse(task.callback, false, true);
215216

216217
request(apiUrl.protocol + "//" + apiUrl.host)
@@ -223,7 +224,7 @@ module.exports = function(hydraterFunction, logger, errLogger) {
223224
}
224225
], function(internalErr) {
225226
if(internalErr) {
226-
errLogger("ERR", internalErr);
227+
errLogger("INTERNAL ERR", internalErr);
227228
}
228229

229230
done(err || internalErr, changes);

0 commit comments

Comments
 (0)