Skip to content

Commit

Permalink
Put exceptions back for missing backends
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Jun 3, 2024
1 parent e37eb5c commit 0c52824
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions telemetry/dev/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,12 @@ def __init__(
if "mongo" in extracted_config:
self.mongo = self.setup_mongo(extracted_config["mongo"])
else:
...
# raise Exception("No MongoDB configuration found")
raise Exception("No MongoDB configuration found")

if "minio" in extracted_config:
self.minio = self.setup_minio(extracted_config["minio"])
else:
...
# raise Exception("No Minio configuration found")
raise Exception("No Minio configuration found")

def setup_mongo(self, config):
"""Setup MongoDB connection."""
Expand Down
Empty file removed tests/vpx_test_data/test_plugin.py
Empty file.

0 comments on commit 0c52824

Please sign in to comment.