mirror of
https://github.com/discourse/discourse.git
synced 2025-03-05 18:59:22 +00:00
runAllTests is an async function, so the try/catch block does not help. The function always returns a promise, so we need to use `.catch` to handle errors. Previously, raised errors were ignored, and the process continued running until it timed out.