Skip to content

Commit 9bb033c

Browse files
author
naman-contentstack
committed
updated error message
1 parent e23a3b0 commit 9bb033c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/lib/helper.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,4 @@ export const printFormattedError = (error: FormattedError, context: string) => {
8585
cliux.print(`Timestamp: ${error?.timestamp || new Date().toISOString()}`, {
8686
color: "gray",
8787
});
88-
89-
// Show the raw error details from types-generator if different from our formatted message
90-
if (error?.error_message && error.error_message !== errorMessage) {
91-
cliux.print("", {});
92-
cliux.print("Raw error details:", { color: "magenta", bold: true });
93-
cliux.print(error.error_message, { color: "red" });
94-
}
9588
};

0 commit comments

Comments
 (0)