Skip to content

Commit e6e6c0b

Browse files
committed
added comments
1 parent 38c3485 commit e6e6c0b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

generator/cmd/generateall.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ executeSynchronous(async () => {
101101
// Use markdown formatting as this summary will be included in the PR description
102102
logOut(summaryLogger,
103103
`<details>
104-
<summary>Failed to generate types for path '${basePath}'</summary>
104+
<summary>Failed to generate types for path '${autoGenConfig.basePath}' and namespace '${autoGenConfig.namespace}'</summary>
105105
\`\`\`
106106
${error}
107107
\`\`\`
@@ -112,9 +112,10 @@ executeSynchronous(async () => {
112112
}
113113
} catch (error) {
114114
// Use markdown formatting as this summary will be included in the PR description
115+
// This error usually indicates that a file has not been found (readme)
115116
logOut(summaryLogger,
116117
`<details>
117-
<summary>Failed to generate types for path '${basePath}'</summary>
118+
<summary>Failed to generate types for path '${basePath}' probably due to readme not found or due to any other file not found exception.</summary>
118119
\`\`\`
119120
${error}
120121
\`\`\`

0 commit comments

Comments
 (0)