mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
add release notes for filesystem fixes
Update doc/manual/rl-next/filesystem-errors.md Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
70c52d72f4
commit
04ce0e648a
1 changed files with 14 additions and 0 deletions
14
doc/manual/rl-next/filesystem-errors.md
Normal file
14
doc/manual/rl-next/filesystem-errors.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
synopsis: wrap filesystem exceptions more correctly
|
||||||
|
issues: []
|
||||||
|
prs: [11378]
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
With the switch to `std::filesystem` in different places, Nix started to throw `std::filesystem::filesystem_error` in many places instead of its own exceptions.
|
||||||
|
|
||||||
|
This lead to no longer generating error traces, for example when listing a non-existing directory, and can also lead to crashes inside the Nix REPL.
|
||||||
|
|
||||||
|
This version catches these types of exception correctly and wrap them into Nix's own exeception type.
|
||||||
|
|
||||||
|
Author: [**@Mic92**](https://github.com/Mic92)
|
Loading…
Reference in a new issue