Skip to content

Commit

Permalink
update main
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Mar 11, 2024
1 parent a7fc8c4 commit eea09df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions dist/notify.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ async function run() {
}
})
}).then(() => {
console.error("Notify complete!");
console.log("fetch complete!");
}).catch((error2) => {
console.error("Failed to notify Astro Studio:", error2);
console.error("Failed to notify:", error2);
});
console.log("Notify complete!");
}
await run().catch((error2) => {
if ("message" in error2) {
Expand Down
7 changes: 5 additions & 2 deletions src/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,13 @@ async function run(): Promise<void> {
},
}),
}).then(() => {
console.error("Notify complete!");
console.log("fetch complete!");
}).catch((error) => {
console.error("Failed to notify Astro Studio:", error);
console.error("Failed to notify:", error);
});

console.log("Notify complete!");

}

await run().catch((error) => {
Expand Down

0 comments on commit eea09df

Please sign in to comment.