aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/cli/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlia/cli/commands.py')
-rw-r--r--src/mlia/cli/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mlia/cli/commands.py b/src/mlia/cli/commands.py
index f0ba519..1f339ee 100644
--- a/src/mlia/cli/commands.py
+++ b/src/mlia/cli/commands.py
@@ -72,7 +72,7 @@ def check(
"model.h5", compatibility=True, performance=True)
"""
if not model:
- raise Exception("Model is not provided")
+ raise ValueError("Model is not provided.")
# Set category based on checks to perform (i.e. "compatibility" and/or
# "performance").