Skip to content

Commit

Permalink
ignore error for GetScriptEx on openapp (#420)
Browse files Browse the repository at this point in the history
* ignore error for GetScriptEx
  • Loading branch information
DnlLrssn authored Aug 18, 2023
1 parent 2545f65 commit a298858
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scenario/openapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ func (openApp OpenAppSettings) Execute(sessionState *session.State, actionState
}, actionState, true, "")

sessionState.QueueRequest(func(ctx context.Context) error {
_, err := uplink.CurrentApp.Doc.GetScriptEx(ctx)
return errors.WithStack(err)
_, err := uplink.CurrentApp.Doc.GetScriptEx(ctx) // ignore err, as when not ownning app an Access denied will be returned.
sessionState.LogEntry.LogDebugf("GetScriptEx request returned error: %v", err)
return nil
}, actionState, true, "")

for i := 0; i < 2; i++ {
Expand Down

0 comments on commit a298858

Please sign in to comment.