@sprucelabs/spruce-agent-utils 0.1.0 → 0.1.1
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.
|
@@ -11,7 +11,7 @@ class SpruceError extends error_1.default {
|
|
|
11
11
|
let message;
|
|
12
12
|
switch (options?.code) {
|
|
13
13
|
case 'AGENT_LOADER_NOT_CONFIGURED':
|
|
14
|
-
message = `The agent loader has not been configured. Please call SpruceAgent.setup(...) first.
|
|
14
|
+
message = `The agent loader has not been configured. Please call SpruceAgent.setup(...) first. If you are booting your skill, add it to the did-boot. If this is a front-end test, do it in the AppController. If your test has neither of those, just do it in the beforeEach() and make sure to do a new test for where it needs to be called in the production code.`;
|
|
15
15
|
break;
|
|
16
16
|
default:
|
|
17
17
|
message = super.friendlyMessage();
|
|
@@ -6,7 +6,7 @@ export default class SpruceError extends BaseSpruceError {
|
|
|
6
6
|
let message;
|
|
7
7
|
switch (options === null || options === void 0 ? void 0 : options.code) {
|
|
8
8
|
case 'AGENT_LOADER_NOT_CONFIGURED':
|
|
9
|
-
message = `The agent loader has not been configured. Please call SpruceAgent.setup(...) first.
|
|
9
|
+
message = `The agent loader has not been configured. Please call SpruceAgent.setup(...) first. If you are booting your skill, add it to the did-boot. If this is a front-end test, do it in the AppController. If your test has neither of those, just do it in the beforeEach() and make sure to do a new test for where it needs to be called in the production code.`;
|
|
10
10
|
break;
|
|
11
11
|
default:
|
|
12
12
|
message = super.friendlyMessage();
|