Skip to content

Commit

Permalink
warn() on interrupted optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
alyst committed Aug 14, 2015
1 parent ba049c5 commit 9a5b761
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/opt_controller.jl
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ function run_optimization(ctrl::OptRunController, params::Associative)
catch ex
# If it was a ctrl-c interrupt we try to make a result and return it...
if isa(ex, InterruptException)
warn("Optimization interrupted, recovering intermediate results...")
return make_opt_result(ctrl, params)
else
rethrow(ex)
Expand Down

0 comments on commit 9a5b761

Please sign in to comment.