Skip to content

Commit 442ed45

Browse files
authored
refactor: longer error logs, contributes to sidebase/sidebase#95 (#12)
1 parent 3881446 commit 442ed45

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/steps/1.downloadTemplate.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export default async (preferences: Preferences) => {
2828
})
2929
} catch (error) {
3030
console.log()
31-
say(`Failed to initialize project folder - does a folder with the same name already exist? Aborting mission. Here is the full error: \n${error}`)
31+
say("Failed to initialize project folder - does a folder with the same name already exist? Aborting mission. Here is the full error:")
32+
console.error(error)
3233
process.exit()
3334
}
3435

0 commit comments

Comments
 (0)