Skip to content

Exceptions in TUI commands #156

@h-krishnan

Description

@h-krishnan

If I have the following commands in a script file, and the first line throws an error (e.g. file does not exist), should the second line get executed, or should the script execution abort with exception at that point? At present, because the TUI commands are executed asynchronously, the second line does not know that the first line has thrown an exception and so gets queued.

session.tui.solver.file.read_case(r'elbow.cas.h5')
session.tui.solver.file.read_data(r'elbow.dat.h5')

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions