Skip to content

Commit ee17f08

Browse files
committed
fix: remove error handling for capsule registration in example
1 parent f7d9162 commit ee17f08

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/raw_capsule_registration_failure.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ def main() -> None:
4242
print("Creating the PyCapsule failed:", err)
4343
return
4444

45-
try:
46-
ctx.read_table(capsule)
47-
except ValueError as err:
48-
print("Registering capsule with SessionContext failed:", err)
45+
ctx.read_table(capsule)
4946

5047

5148
if __name__ == "__main__":

0 commit comments

Comments
 (0)