Skip to content

Commit

Permalink
Fix silenced exception in Queue when using faulty transform
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhack47 committed Aug 3, 2023
1 parent 69140d5 commit 70564f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/torchio/data/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ def _get_next_subject(self) -> Subject:
' patches from the queue should be 0. Is it?'
)
raise RuntimeError(message) from exception
raise exception
return subject

@staticmethod
Expand Down

0 comments on commit 70564f9

Please sign in to comment.