Commit 99f613d
Fix KeyError when baseline database is missing
Added 'summary' key to error return paths in analyze() method.
This fixes the crash when running performance tests for the first time
without a baseline database.
Tested locally: script now exits gracefully with exit code 0 when
no baseline is available.
Co-Authored-By: Alex Peng <[email protected]>1 parent 685bed3 commit 99f613d
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
174 | 180 | | |
175 | 181 | | |
176 | 182 | | |
| |||
180 | 186 | | |
181 | 187 | | |
182 | 188 | | |
183 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
184 | 196 | | |
185 | 197 | | |
186 | 198 | | |
| |||
0 commit comments