Skip to content

Commit

Permalink
Improved error messaging on Pyha
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean1572 committed Jun 28, 2022
1 parent 08d5170 commit 0690ab9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PyHa/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,9 @@ def automated_labeling_statistics(
else:
statistics_df = statistics_df.append(clip_stats_df)

except BaseException:
except BaseException as e:
print("Something went wrong with: " + clip)
print(e)
continue
statistics_df.reset_index(inplace=True, drop=True)
return statistics_df
Expand Down

0 comments on commit 0690ab9

Please sign in to comment.