@assembly-js/app-foundation 0.0.25-rc.4 → 0.0.25-rc.5
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/package.json
CHANGED
|
@@ -117,6 +117,9 @@ export const GET = cronRoute(async () => {
|
|
|
117
117
|
ran++;
|
|
118
118
|
} catch (err) {
|
|
119
119
|
// One failing row must not poison the batch; leave it for the next tick.
|
|
120
|
+
// The error log is how the platform learns an action failed inside a
|
|
121
|
+
// tick that still returns 200 — keep it.
|
|
122
|
+
console.error('scheduled action failed', claimed.action, err);
|
|
120
123
|
await db
|
|
121
124
|
.update(scheduledActions)
|
|
122
125
|
.set({ status: 'pending', claimedAt: null, lastError: err instanceof Error ? err.message : String(err) })
|