File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1225,9 +1225,14 @@ async function showPerformanceComparison(
12251225 const fromLog = from ?. evalutorLogPaths ?. jsonSummary ;
12261226 const toLog = to . evalutorLogPaths ?. jsonSummary ;
12271227
1228- if ( fromLog === undefined || toLog === undefined ) {
1228+ if ( from && fromLog === undefined ) {
12291229 return extLogger . showWarningMessage (
1230- `Cannot compare performance as the structured logs are missing. Did they queries complete normally?` ,
1230+ `Cannot compare performance as the "from" structured logs are missing. Did they queries complete normally?` ,
1231+ ) ;
1232+ }
1233+ if ( toLog === undefined ) {
1234+ return extLogger . showWarningMessage (
1235+ `Cannot compare performance as the "to" structured logs are missing. Did they queries complete normally?` ,
12311236 ) ;
12321237 }
12331238 if ( from ) {
You can’t perform that action at this time.
0 commit comments