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:
@@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user