chore: cleaner exception tracebacks
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
committed by
Henry Schreiner
parent
929ecac7f8
commit
534cada6a5
@@ -58,7 +58,8 @@ class OCIContainer:
|
||||
engine: ContainerEngine = "docker",
|
||||
):
|
||||
if not image:
|
||||
raise ValueError("Must have a non-empty image to run.")
|
||||
msg = "Must have a non-empty image to run."
|
||||
raise ValueError(msg)
|
||||
|
||||
self.image = image
|
||||
self.simulate_32_bit = simulate_32_bit
|
||||
|
||||
Reference in New Issue
Block a user