From d6a75c1ee453460e00ab0196d0a1c7633f93ec3d Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Mon, 12 Aug 2024 21:07:08 -0400 Subject: [PATCH] resource: more descriptive error message when resource is not linked --- sdk/js/src/resource.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/js/src/resource.ts b/sdk/js/src/resource.ts index 1d6b67f5b..cef97a89c 100644 --- a/sdk/js/src/resource.ts +++ b/sdk/js/src/resource.ts @@ -62,7 +62,7 @@ export const Resource = new Proxy(raw, { "It does not look like SST links are active. If this is in local development and you are not starting this process through the multiplexer, wrap your command with `sst dev -- `", ); } - let msg = `"${prop}" is not linked`; + let msg = `"${prop}" is not linked in your sst.config.ts`; if (env.AWS_LAMBDA_FUNCTION_NAME) { msg += ` to ${env.AWS_LAMBDA_FUNCTION_NAME}`; }