--- "astro": patch --- Improves error handling logic for the `astro sync` command.