Skip to content

Commit 1b38a86

Browse files
committed
Must use callback
1 parent 6378213 commit 1b38a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ldp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ class LDP {
293293
callback(null)
294294
})
295295
})
296-
}).catch(() => { throw error(500, 'Error finding user quota') })
296+
}).catch(() => callback(error(500, 'Error finding user quota')))
297297
}
298298

299299
exists (hostname, path, callback) {

0 commit comments

Comments
 (0)