This repository was archived by the owner on Jan 17, 2023. It is now read-only.
Commit 1e16e62
committed
Update the handling of Vend API Errors
It turns out that the error_description attribute on the Vend error
responses is option. Add some checking to ensure that the
error_description attribute is only used if it exists.1 parent 39f1766 commit 1e16e62
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
210 | 216 | | |
211 | 217 | | |
212 | 218 | | |
| |||
0 commit comments