Commit 2eaf08d
committed
fix a bug for failed query
this would previously always set the ret.code to the curl response code, even
if the query failed. Maybe we want to switch to that in the future, but for
now we return -1 for invalid queries still.1 parent 194b3aa commit 2eaf08d
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
0 commit comments