mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 07:31:07 +01:00
Prevent library leaking full local paths
This commit is contained in:
@@ -135,7 +135,7 @@ function getLibraryEntry(type,path) {
|
||||
throw err;
|
||||
});
|
||||
} else {
|
||||
throw err;
|
||||
throw new Error(`Library Entry not found ${path}`, { cause: err});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user