Follow up 569200eb - fixed a typo witch was caused a bug "Impossible to revert the bed shape"

+ Added error message for exception when changing the config value
This commit is contained in:
YuSanka 2021-07-20 09:40:56 +02:00
parent 7d3e176a58
commit cc92757cdc
2 changed files with 3 additions and 3 deletions

View file

@ -199,9 +199,9 @@ void change_opt_value(DynamicPrintConfig& config, const t_config_option_key& opt
break;
}
}
catch (const std::exception & /* e */)
catch (const std::exception &e)
{
// int i = 0;//no reason, just experiment
wxLogError(format_wxstr(_L("Internal error when changing value for %1%: %2%"), opt_key, e.what()));
}
}