diff --git a/core/src/main.jl b/core/src/main.jl index f34bda09b..d95743db0 100644 --- a/core/src/main.jl +++ b/core/src/main.jl @@ -24,6 +24,7 @@ function main(ARGS::Vector{String})::Cint try # show progress bar in terminal config = Config(arg) + mkpath(results_path(config, ".")) open(results_path(config, "ribasim.log"), "w") do io logger = Ribasim.setup_logger(; verbosity = config.logging.verbosity, stream = io)