Skip to content

Commit

Permalink
Merge pull request #427 from PuneetP16/fix-app-reload
Browse files Browse the repository at this point in the history
[fix]: shell commands execution failure on app reload
  • Loading branch information
thecodacus authored Nov 29, 2024
2 parents 02f4de4 + 5add317 commit fe45651
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/lib/runtime/action-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ export class ActionRunner {

this.#currentExecutionPromise = this.#currentExecutionPromise
.then(() => {
this.#executeAction(actionId, isStreaming);
return this.#executeAction(actionId, isStreaming);
})
.catch((error) => {
console.error('Action failed:', error);
});
return this.#currentExecutionPromise;
}

async #executeAction(actionId: string, isStreaming: boolean = false) {
Expand Down

0 comments on commit fe45651

Please sign in to comment.