Commit cc13590
committed
[Frontend] Adjust try/except blocks in API impl
These were changed to separate blocks in vllm-project#9759 but I feel it's cleaner/clearer as a single block. It actually doesn't matter which parts of the block raise the specific exceptions in the except clauses, we still want to handle them in the same way.
Signed-off-by: Nick Hill <[email protected]>1 parent 235366f commit cc13590
File tree
2 files changed
+5
-11
lines changed- vllm/entrypoints/openai
2 files changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | 192 | | |
198 | | - | |
199 | 193 | | |
200 | 194 | | |
201 | 195 | | |
| |||
217 | 211 | | |
218 | 212 | | |
219 | 213 | | |
| 214 | + | |
| 215 | + | |
220 | 216 | | |
221 | 217 | | |
222 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | 208 | | |
211 | | - | |
212 | | - | |
213 | | - | |
| 209 | + | |
214 | 210 | | |
215 | 211 | | |
216 | 212 | | |
217 | 213 | | |
218 | 214 | | |
219 | 215 | | |
220 | 216 | | |
| 217 | + | |
| 218 | + | |
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
| |||
0 commit comments