Update index.js

This commit is contained in:
2025-11-24 11:51:38 -08:00
committed by GitHub
parent b6e7929d00
commit 3ff6a625a7

View File

@@ -370,7 +370,7 @@ export class MyDurableObject {
try { this.oaStream?.controller?.abort(); } catch {} try { this.oaStream?.controller?.abort(); } catch {}
this.saveSnapshot(); this.saveSnapshot();
this.bcast({ type: 'err', message: this.error }); this.bcast({ type: 'err', message: this.error });
this.notify(`Run ${this.rid} failed: ${this.error}`, 4, ['rotating_light']); this.notify(`Run ${this.rid} failed: ${this.error}`, 3, ['rotating_light']);
this.state.waitUntil(this.stopHeartbeat()); this.state.waitUntil(this.stopHeartbeat());
} }