@stelliajs/framework 1.4.1 → 1.4.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.
@@ -37,7 +37,10 @@ export class StelliaClient extends Client {
37
37
  }
38
38
  this.utils = new StelliaUtils(this);
39
39
  process.on("unhandledRejection", (error) => {
40
- logger.error(`Unhandled promise rejection: ${error}`);
40
+ logger.error(`Unhandled promise rejection: ${error.stack}`);
41
+ });
42
+ process.on("uncaughtException", (error) => {
43
+ logger.error(`Uncaught exception: ${error.stack}`);
41
44
  });
42
45
  }
43
46
  connect = async (token) => {
@@ -11,7 +11,7 @@ export class EventManager extends BaseManager {
11
11
  this.client.getGuildsConfiguration()
12
12
  .then((guildsConfiguration) => {
13
13
  this.guildsConfiguration = guildsConfiguration;
14
- logger.success("Guilds configuration loaded successfully for event manager");
14
+ logger.success("Guilds configuration loaded successfully for event");
15
15
  })
16
16
  .catch((error) => logger.error(`Error while loading guilds configuration: ${error}`));
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stelliajs/framework",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "scripts": {
@@ -25,5 +25,5 @@
25
25
  "tsc-alias": "^1.8.16"
26
26
  },
27
27
  "type": "module",
28
- "packageManager": "pnpm@10.11.1"
28
+ "packageManager": "pnpm@10.12.1"
29
29
  }