Skip to content

Commit

Permalink
refactor(either): enhance throw error info
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Nov 9, 2023
1 parent 635f5ff commit 4568cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
};
eitherN = tn:
let
combine = a: b: if b == null then a else "[${a}]: ${b}";
combine = a: b: if a == null then b else "[${a}]: ${b}";
logContexts = map (t: t.logContext or null) tn;
# Function to pair two lists, combining their corresponding elements
pairList = listA: listB: lib.lists.zipListsWith combine listA listB;
Expand Down

0 comments on commit 4568cbb

Please sign in to comment.