catch benchmarks execution error
[benchmarks-js.git] / promise-handling.js
index 4e83dc54268f278c6d5de9d2dd29b96cf873a4d3..11e0a96493056430a470792173f8fd4fd50f04d9 100644 (file)
@@ -58,4 +58,6 @@ Benchmark.suite(
     format: 'table.html',
     details: true
   })
-)
+).catch(err => {
+  console.error(err)
+})