Skip to content

Commit ded2ffd

Browse files
author
Nina Chaubal
committed
Correct file read error message
#639
1 parent 0957f9a commit ded2ffd

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
@@ -412,7 +412,7 @@ class LDP {
412412
stream
413413
.on('error', function (err) {
414414
debug.handlers(`GET -- error reading ${filename}: ${err.message}`)
415-
return callback(error(err, "Can't create file " + err))
415+
return callback(error(err, "Can't read file " + err))
416416
})
417417
.on('open', function () {
418418
debug.handlers(`GET -- Reading ${filename}`)

0 commit comments

Comments
 (0)