mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-29 04:04:07 -06:00
[dialog-options.c] increase logging when option is set to bad value
This commit is contained in:
parent
686f842c3d
commit
37a4031449
@ -398,7 +398,10 @@ gnc_option_set_ui_value_internal (GNCOption *option, gboolean use_default)
|
||||
{
|
||||
bad_value = option_def->set_value (option, use_default, widget, value);
|
||||
if (bad_value)
|
||||
PERR("bad value\n");
|
||||
PERR("option '%s' bad value '%s'\n",
|
||||
gnc_option_name (option),
|
||||
scm_to_locale_string (scm_object_to_string
|
||||
(value, scm_c_eval_string ("write"))));
|
||||
}
|
||||
else
|
||||
PERR("Unknown type. Ignoring.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user