Skip to content

Commit 0140035

Browse files
committed
More info on error
1 parent 1aa85ca commit 0140035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class CMTD {
161161
else {
162162
Promise.all(files.map(f => this.generateTypes(f)))
163163
.then(resolve)
164-
.catch(x => { this.logger.error(x); reject(x); });
164+
.catch(err => { this.logger.error(`{CMTD2} ${JSON.stringify(err)}`); reject(err); });
165165
}
166166
}
167167
);

0 commit comments

Comments
 (0)