Commit b45e735
authored
Clear out errors once we have handled them. (#701)
In particular, in the type-hash code we can handle a
failure to encode or parse the type hash from the user
data. Once we've handled it, and printed out an error
about it, we should clear it because we are going to
continue on and something else down the line might
have an error.
This will avoid errors like:
This error state is being overwritten:
<old message>
with this new error message:
<new message>
Signed-off-by: Chris Lalancette <[email protected]>1 parent 934f403 commit b45e735
File tree
2 files changed
+5
-0
lines changed2 files changed
+5
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
0 commit comments