@isomorph.ai/app-sdk 2.8.1 → 2.8.2
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/runtime.js +1 -1
- package/package.json +1 -1
package/dist/runtime.js
CHANGED
|
@@ -525,7 +525,7 @@ export class Runtime {
|
|
|
525
525
|
fail(404, 'NOT_FOUND', `${JOBS_DIR}/${jobName}.ts expects deliveries from ${trigger.provider}, not ${provider}`);
|
|
526
526
|
const secret = trigger.secret ? process.env[trigger.secret] : undefined;
|
|
527
527
|
if (trigger.secret && !secret)
|
|
528
|
-
fail(500, 'INTERNAL', `the app secret ${trigger.secret} that ${JOBS_DIR}/${jobName}.ts names for ${trigger.provider} is not set; set it on the app's secrets page`);
|
|
528
|
+
fail(500, 'INTERNAL', `the app secret ${trigger.secret} that ${JOBS_DIR}/${jobName}.ts names for ${trigger.provider} is not set in this running version; set it on the app's secrets page, and a value saved there applies at the app's next deploy`);
|
|
529
529
|
const verdict = WEBHOOK_ADAPTERS[trigger.provider]({ headers, rawBody, secret, now: Date.now() });
|
|
530
530
|
if (verdict.kind === 'challenge')
|
|
531
531
|
return { challenge: verdict.challenge };
|