From 7cd700e127e87c439b39045c528dafd1f295b7b4 Mon Sep 17 00:00:00 2001 From: Bill Freeman Date: Sun, 31 Mar 2024 21:15:25 +0000 Subject: [PATCH] Update errors --- pureskillgg_csgo_dsdk/scrubber/scrub_pii.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pureskillgg_csgo_dsdk/scrubber/scrub_pii.py b/pureskillgg_csgo_dsdk/scrubber/scrub_pii.py index 4d1ac7b..2bdb835 100644 --- a/pureskillgg_csgo_dsdk/scrubber/scrub_pii.py +++ b/pureskillgg_csgo_dsdk/scrubber/scrub_pii.py @@ -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