Changelog - 2026-11-07
Disk helper errors carry no absolute path
Bug FixIn one line. When DiskHelper could not resolve the real path of a target (a link loop, a directory it may not search), it passed Node's error on, and that message holds the absolute path of the storage root on the server. It names the error code only now.
What changed
- Link loops. A name that leads into a link loop (
ELOOP), or a path the system refuses as too long (ENAMETOOLONG), answersInvalid object name, like a link that leads outside the root. - Other failures. Any other failure to resolve the real path (
EACCES, a storage root that disappeared) answers a 500Cannot resolve the real path of a storage target | code: EACCES. The full error, path included, stays in the server log.
Who is affected
Nobody needs to act. Code that matched the old Node message text must match the new one.
Details
| File | Package |
|---|---|
src/modules/storage/disk/helper.ts | helpers |