Skip to content

Commit 2f551cb

Browse files
committed
passing string not object
1 parent 3d363c4 commit 2f551cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ldp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ LDP.prototype.listContainer = function (filename, uri, containerData, callback)
181181
} catch (dirErr) {
182182
return callback(new HttpError({
183183
status: err.code === 'ENOENT' ? 404 : 500,
184-
message: dirErr
184+
message: dirErr.message
185185
}));
186186
}
187187
return callback(null, metadataGraph);

0 commit comments

Comments
 (0)