Skip to content

Commit

Permalink
Merge pull request #510 from sangminkim-99/fix_exception_typo
Browse files Browse the repository at this point in the history
[MISC] fix minor typo in exception handling
  • Loading branch information
zswang666 authored Jan 11, 2025
2 parents 138ece3 + 1a7ce24 commit 3790947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genesis/engine/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _validate_options(
gs.raise_exception("`viewer_options` should be an instance of `ViewerOptions`.")

if not isinstance(renderer, Renderer):
gs.raise_exception("`viewer_options` should be an instance of `gs.renderers.Renderer`.")
gs.raise_exception("`renderer` should be an instance of `gs.renderers.Renderer`.")

@gs.assert_unbuilt
def add_entity(
Expand Down

0 comments on commit 3790947

Please sign in to comment.