Skip to content

Commit b0d424e

Browse files
KlafyvelHugo Levy-Falk
and
Hugo Levy-Falk
authored
Fix crash of produce_or_load when saving file fails. (#268)
* Fix crash of when saving file fails. * Increment patch version. Co-authored-by: Hugo Levy-Falk <hugo.levy-falk@universite-paris-saclay.fr>
1 parent 64d8851 commit b0d424e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DrWatson"
22
uuid = "634d3b9d-ee7a-5ddf-bec9-22491ea816e1"
33
repo = "https://github.com/JuliaDynamics/DrWatson.jl.git"
4-
version = "2.1.0"
4+
version = "2.1.1"
55

66
[deps]
77
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

src/saving_files.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function produce_or_load(path, c, f::Function;
6565
end
6666
verbose && @info "File $s saved."
6767
catch er
68-
@warn "Could not save file. Error stacktrace:"*
68+
@warn "Could not save file. Error stacktrace:"
6969
Base.showerror(stderr, er, stacktrace(catch_backtrace()))
7070
end
7171
if loadfile

0 commit comments

Comments
 (0)