diff --git a/src/utils.jl b/src/utils.jl index 7ed3930..0377495 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -28,7 +28,7 @@ function read_estimands_config(filename) elseif endswith(filename, ".jls") return deserialize(filename) else - throw(ArgumentError(string("Can't read from ", extension, " file"))) + throw(ArgumentError(string("Can't read ", filename, ", only supported file types are: JSON, YAML and JLS."))) end end