Skip to content

Commit

Permalink
Update errors
Browse files Browse the repository at this point in the history
  • Loading branch information
billfreeman44 committed Mar 31, 2024
1 parent c8e1e84 commit 7cd700e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pureskillgg_csgo_dsdk/scrubber/scrub_pii.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ def get_manifest_indexes(manifest, channel, column):
channel_index = x
break
if channel_index == -1:
raise Exception(f"Channel does not exist: {channel}")
raise RuntimeError(f"Channel does not exist: {channel}")
column_index = -1
for x in range(len(manifest["channels"][channel_index]["columns"])):
if manifest["channels"][channel_index]["columns"][x]["name"] == column:
column_index = x
if column_index == -1:
raise Exception(f"Column does not exist in channel {channel}: {column}")
raise RuntimeError(f"Column does not exist in channel {channel}: {column}")
return channel_index, column_index


Expand Down

0 comments on commit 7cd700e

Please sign in to comment.