Skip to content

Commit 0faafd8

Browse files
authored
include error.error when printing error (#10474)
1 parent 38bdb78 commit 0faafd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/wrangler/src/containers/deploy.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ function formatError(err: ApiError): string {
355355
typeof maybeError.details === "object"
356356
) {
357357
let message = "";
358+
message += `${maybeError.error}\n`;
358359
for (const key in maybeError.details) {
359360
message += `${brandColor(key)} ${maybeError.details[key]}\n`;
360361
}

0 commit comments

Comments
 (0)