Commit 4348055
committed
cardano-rpc: fix serverExceptionToClient for grapesy-1.2.0's ExactException
grapesy changed serverExceptionToClient's field type from SomeException
to ExactException (a newtype wrapper) between 1.1.1 and 1.2.0. This
repo's own pinned Hackage index-state (2026-08-02) predates that
release, so CI still resolves an older grapesy with the old signature;
a newer index-state (as used downstream by cardano-node) resolves
1.2.0 and this commit's serverExceptionToClient assignment fails to
typecheck. Unwrap via the ExactException pattern before using
fromException, as grapesy's own Server.Call/Context modules do
internally.1 parent 4d379fb commit 4348055
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
188 | | - | |
189 | | - | |
| 189 | + | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
0 commit comments