Skip to content
Snippets Groups Projects
Commit a5eda479 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

errors: rename one error to be more true to its intent

parent 41184c63
No related branches found
No related tags found
2 merge requests!45Cleanups,!40clone git too
......@@ -36,7 +36,7 @@
full_key = f"bench-input-vars.{key}"
value = basics.get_one_value(self._data, full_key)
if value is None:
raise errors.MissingDataEnvInputVars(key)
raise errors.MissingDataEnvInputVar(key)
return value
def set_benchmark_input_var(self, key, value):
......
......@@ -20,7 +20,7 @@
self.message = message
class MissingDataEnvInputVars(KeyError):
class MissingDataEnvInputVar(KeyError):
pass
......
......@@ -211,7 +211,7 @@
benchmark_path,
debug=debug,
)
except errors.MissingDataEnvInputVars as exc:
except errors.MissingDataEnvInputVar as exc:
# TODO it's not the lib's responsibility to write to stderr
err = functools.partial(click.secho, err=True, fg="red")
msg = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment