Skip to content

Commit

Permalink
rename execution error
Browse files Browse the repository at this point in the history
  • Loading branch information
allenanie committed Jun 24, 2024
1 parent 1f256e3 commit e98fa80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ <h4 class="mb-4">Trace Graph</h4>
try:
output = policy.select_coordinate(obs)
obs, reward, terminal, feedback = board.placing_shot(output.data)
except trace.TraceExecutionError as e:
except trace.ExecutionError as e:
output = e.exception_node
feedback = output.data
reward, terminal = 0, False
Expand Down Expand Up @@ -506,7 +506,7 @@ <h2 class="display-2 mb-4">Showcases</h2>
try:
output = program(x, seed=program_id)
feedback = program.feedback(output.data)
except trace.TraceExecutionError as e:
except trace.ExecutionError as e:
output = e.exception_node
feedback = output.data

Expand Down Expand Up @@ -727,7 +727,7 @@ <h2 class="display-2 mb-4">Showcases</h2>
try: # traced
action = controller(controller_input)
next_obs, reward, termination, truncation, info = env.step(action)
except trace.TraceExecutionError as e:
except trace.ExecutionError as e:
error = e
break

Expand Down

0 comments on commit e98fa80

Please sign in to comment.