Commit dbcf925
committed
server: propagate errors from remove_subgraph in graphman GraphQL resolver
Add missing .map_err(GraphmanError::from) to properly convert
store errors (including the new SubgraphNotFound) to GraphQL errors.
Signed-off-by: Maksim Dimitrov <dimitrov.maksim@gmail.com>1 parent 528fe35 commit dbcf925
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
0 commit comments