mirror of
https://github.com/discourse/discourse.git
synced 2025-03-30 23:16:13 +08: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.