Skip to content

Commit

Permalink
chore(wasm): update log message
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-melnychuk committed Oct 30, 2024
1 parent a168e50 commit 620c5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/wrk.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ function post(url, body) {

let ms = performance.now() - now;
if (xhr.status != 200) {
console.error('call to', call, 'completed in', ms, 'ms');
console.error(`call to ${call} completed in ${ms} ms`);
throw new Error(xhr.statusText);
}
console.debug('call to', call, 'completed in', ms, 'ms');
console.debug(`call to ${call} completed in ${ms} ms`);
return xhr.responseText;
}

Expand Down

0 comments on commit 620c5f0

Please sign in to comment.