--- 'create-astro': patch --- Improve error handling during tasks that display a spinner