Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plugins/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ function discover(req, res, next) {
} catch (e) {
// ignore ENOENT (can occur with bad symlinks)
// and EACCESS (can occur with superuser-permission paths)
if (e.code !== 'ENOENT' && e.code !== 'EACCES') {
// and ELOOP (can occur when encounters circular symlink)
if (e.code !== 'ENOENT' && e.code !== 'EACCES' && e.code != 'ELOOP') {
throw e;
}
}
Expand Down