From 21e8ebef5d4b9bb6df4211cc489b442f7d67a224 Mon Sep 17 00:00:00 2001 From: Max Falk Date: Sun, 6 Jun 2021 22:41:17 +0200 Subject: [PATCH] add changeset Signed-off-by: Max Falk --- .changeset/sour-brooms-dream.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changeset/sour-brooms-dream.md diff --git a/.changeset/sour-brooms-dream.md b/.changeset/sour-brooms-dream.md new file mode 100644 index 0000000000..4cb5a0e584 --- /dev/null +++ b/.changeset/sour-brooms-dream.md @@ -0,0 +1,9 @@ +--- +'@backstage/cli': patch +--- + +Fix error message formatting in the packaging process. + +error.errors can be undefined which will lead to a TypeError, swallowing the actual error message in the process. + +For instance, if you break your tsconfig.json with invalid syntax, backstage-cli will not be able to build anything and it will be very hard to find out why because the underlying error message is hidden behind a TypeError.