Skip to content

Commit

Permalink
Change exception descriptions; Add TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentaTomas committed Oct 21, 2024
1 parent 1e2daa3 commit aa302ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/js-sdk/src/sandbox/commands/commandHandle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ export class CommandHandle
}
break
}
// TODO: Handle empty events like in python SDK
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async def wait(self) -> CommandResult:
raise self._iteration_exception

if self._result is None:
raise Exception("Process ended without an end event")
raise Exception("Command ended without an end event")

if self._result.exit_code != 0:
raise CommandExitException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def wait(
raise self._iteration_exception

if self._result is None:
raise Exception("Process ended without an end event")
raise Exception("Command ended without an end event")

if self._result.exit_code != 0:
raise CommandExitException(
Expand Down

0 comments on commit aa302ed

Please sign in to comment.