Skip to content

Commit 1e0d179

Browse files
committed
Slightly more helpful error message
Refs pkgxdev/pantry#5060
1 parent 60879ef commit 1e0d179

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/cmd/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ platform_cache(() => config.path.home).mkdir('p') // we’ve indeed found thing
120120

121121
const proc = new Deno.Command(script.string, {clearEnv: true, env}).spawn()
122122
const rv = await proc.status
123-
if (!rv.success) throw new Error(`${rv.code} ${rv.signal}`)
123+
if (!rv.success) throw new Error(`UR BUILD FAILED WITH CODE ${rv.code} & SIGNAL ${rv.signal}`)
124124

125125
/// move installation products to destination
126126
await gum(`rsync install to final path`)

bin/cmd/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ platform_cache(() => config.path.home).mkdir('p') // we’ve indeed found thing
103103

104104
const proc = new Deno.Command(script.string, {clearEnv: true, env}).spawn()
105105
const rv = await proc.status
106-
if (!rv.success) throw new Error(`${rv.code} ${rv.signal}`)
106+
if (!rv.success) throw new Error(`UR TEST FAILED WITH CODE ${rv.code} & SIGNAL ${rv.signal}`)

0 commit comments

Comments
 (0)