notion-github 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4558,7 +4558,7 @@ var {
|
|
|
4558
4558
|
} = import_index.default;
|
|
4559
4559
|
|
|
4560
4560
|
// package.json
|
|
4561
|
-
var version = "1.0.
|
|
4561
|
+
var version = "1.0.3";
|
|
4562
4562
|
|
|
4563
4563
|
// src/commands/create/action.ts
|
|
4564
4564
|
var import_rest = require("@octokit/rest");
|
|
@@ -6045,6 +6045,7 @@ ${error.message}`);
|
|
|
6045
6045
|
}
|
|
6046
6046
|
console.log(getMessage("prCreateSuccess", lang, response.data.html_url));
|
|
6047
6047
|
if (config.discordWebhook) {
|
|
6048
|
+
console.log("Discord webhook URL:", config.discordWebhook);
|
|
6048
6049
|
try {
|
|
6049
6050
|
await sendDiscordNotification(
|
|
6050
6051
|
config.discordWebhook,
|
|
@@ -6055,6 +6056,7 @@ ${error.message}`);
|
|
|
6055
6056
|
);
|
|
6056
6057
|
console.log(getMessage("discordNotificationSent", lang));
|
|
6057
6058
|
} catch (error) {
|
|
6059
|
+
console.error("Discord error:", error);
|
|
6058
6060
|
console.error(getMessage("discordNotificationFailed", lang, error.message));
|
|
6059
6061
|
}
|
|
6060
6062
|
}
|