Skip to content

Commit 5762d0f

Browse files
committed
fix(squirrel.windows): include output to error message #804
1 parent 43527e4 commit 5762d0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/targets/squirrelPack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ async function releasify(options: SquirrelOptions, nupkgPath: string, outputDire
187187
maxBuffer: 4 * 1024000,
188188
})).trim()
189189
if (debug.enabled) {
190-
debug(out)
190+
debug(`Squirrel output: ${out}`)
191191
}
192192

193193
const lines = out.split("\n")
@@ -198,7 +198,7 @@ async function releasify(options: SquirrelOptions, nupkgPath: string, outputDire
198198
}
199199
}
200200

201-
throw new Error("Invalid output, cannot find last release entry")
201+
throw new Error(`Invalid output, cannot find last release entry, output: ${out}`)
202202
}
203203

204204
async function msi(options: SquirrelOptions, nupkgPath: string, setupPath: string, outputDirectory: string, outFile: string) {

0 commit comments

Comments
 (0)