@quenty/servicebag 6.3.0 → 6.4.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [6.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/servicebag@6.3.0...@quenty/servicebag@6.4.0) (2022-12-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Add serviceName in error message in ServiceBag ([c3809fb](https://github.com/Quenty/NevermoreEngine/commit/c3809fb6a1377e0a8cec2ef3be3ac2a124fbc247))
12
+
13
+
14
+
15
+
16
+
6
17
  # [6.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/servicebag@6.2.0...@quenty/servicebag@6.3.0) (2022-11-19)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/servicebag",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "description": "Service providing mechanisms for Nevermore",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -33,5 +33,5 @@
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "2114f42ae399a4417a3ebd4d35bf481690ca7923"
36
+ "gitHead": "d9b0d10faa443cc42a6c2ac966f2f56d124bbde5"
37
37
  }
@@ -247,7 +247,8 @@ function ServiceBag:_ensureInitialization(serviceType)
247
247
  elseif self._serviceTypesToInitializeSet then
248
248
  self._serviceTypesToInitializeSet[serviceType] = true
249
249
  else
250
- error("[ServiceBag._ensureInitialization] - Cannot initialize past initializing phase ")
250
+ local serviceName = self:_getServiceName(serviceType)
251
+ error(string.format("Cannot initialize service %q past initializing phase", serviceName))
251
252
  end
252
253
  end
253
254