mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
toJSON: re-throw serialization exception
This commit is contained in:
parent
61c3559116
commit
4a2310a3a0
4 changed files with 17 additions and 1 deletions
1
tests/functional/lang/eval-fail-toJSON-non-utf-8.nix
Normal file
1
tests/functional/lang/eval-fail-toJSON-non-utf-8.nix
Normal file
|
@ -0,0 +1 @@
|
|||
builtins.toJSON "_invalid UTF-8: ÿ_"
|
Loading…
Add table
Add a link
Reference in a new issue