Skip to content

Commit

Permalink
[audian] print exceptions when loading data
Browse files Browse the repository at this point in the history
  • Loading branch information
janscience committed Jan 22, 2025
1 parent 7544eb1 commit fdb757a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/audian/audian.py
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,8 @@ def load_data(self):
try:
browser.open(self, self.unwrap, self.unwrap_clip,
self.highpass_cutoff, self.lowpass_cutoff)
except:
except Exception as e:
print(e)
file_paths = browser.data.file_path
if isinstance(file_paths, (list, tuple, np.ndarray)):
self.tabs.removeTab(self.tabs.indexOf(browser))
Expand Down

0 comments on commit fdb757a

Please sign in to comment.