When git fails to clone the base repository, the following error is thrown:
Uncaught promise: Promise {
<rejected> Error: Failed to clone.
at initBaseProject (https://cdn.unyt.org/uix/src/utils/init-base-project.ts:35:10)
at eventLoopTick (ext:core/01_core.js:169:7)
at async https://cdn.unyt.org/uix/run.ts:39:7
}
error: Uncaught (in promise) Error: Failed to clone.
throw new Error("Failed to clone.");
^
at initBaseProject (https://cdn.unyt.org/uix/src/utils/init-base-project.ts:35:10)
at eventLoopTick (ext:core/01_core.js:169:7)
at async https://cdn.unyt.org/uix/run.ts:39:7
🕗 Version & Regression Information
UIX v0.2.6
💻 Code
uix --init
🙁 Actual behavior
When git fails to clone the base repository, the following error is thrown:
🙂 Expected behavior
Error handling according to #144
Additional information about the issue
No response