We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e49b26a commit e65c4fdCopy full SHA for e65c4fd
.changeset/metal-geese-sniff.md
@@ -0,0 +1,5 @@
1
+---
2
+"@team-plain/cli": patch
3
4
+
5
+Fix error handling for index-sitemap
src/index.js
@@ -77,7 +77,10 @@ program
77
}
78
79
for (const url of urls) {
80
- await indexUrl(url, labelTypeIds);
+ const res = await indexUrl(url, labelTypeIds);
81
+ if (res.isErr) {
82
+ handleError(res.error.message, res.error.requestId);
83
+ }
84
85
86
console.log(`Successfully indexed ${urls.length} urls`);
0 commit comments