Skip to content

Commit

Permalink
fix endpoint online state no header provided
Browse files Browse the repository at this point in the history
  • Loading branch information
benStre committed Jan 24, 2024
1 parent e1b6aff commit b125b34
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runtime/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1858,8 +1858,10 @@ export class Runtime {
//throw e
console.error(e[1]??e)
const header = e[0];
this.handleScopeError(header, e[1]);
this.updateEndpointOnlineState(header);
if (header) {
this.handleScopeError(header, e[1]);
this.updateEndpointOnlineState(header);
}
return;
}

Expand Down

0 comments on commit b125b34

Please sign in to comment.