Skip to content

Commit b0bc16e

Browse files
authored
Fix BenchmarkConnector call to console.warning (#588)
Opening any remote workload outside the harness threw a TypeError on the first stray message instead of logging it. Note that I didn't rebuild the existing remote workloads. I checked the others and it looks like they show a bit diff in the bundle, so I chose to leave them for now. The next rebuild will take this up.
1 parent 572e918 commit b0bc16e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎resources/shared/benchmark.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class BenchmarkConnector {
132132
async onMessage(event) {
133133
const message = event.data;
134134
if (message.appId !== this.appId || message.key !== "benchmark-connector") {
135-
console.warning("Invalid message", message);
135+
console.warn("Invalid message", message);
136136
return;
137137
}
138138

0 commit comments

Comments
 (0)