Skip to content

Commit

Permalink
Change broad Exception to DALServiceError in AsyncTAPJob __exit__
Browse files Browse the repository at this point in the history
  • Loading branch information
stvoutsin committed Jan 16, 2025
1 parent 22429c6 commit f5dd6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvo/dal/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
if self._delete_on_exit:
try:
self.delete()
except Exception:
except DALServiceError:
pass

Check warning on line 684 in pyvo/dal/tap.py

View check run for this annotation

Codecov / codecov/patch

pyvo/dal/tap.py#L680-L684

Added lines #L680 - L684 were not covered by tests

def _update(self, wait_for_statechange=False, timeout=10.):
Expand Down

0 comments on commit f5dd6ff

Please sign in to comment.