expert UAT: display field name on load error

https://ask.wireshark.org/question/29044
Tshark: Error loading table 'Expert Info Severity Level Configuration
This commit is contained in:
Chuck Craft 2022-10-19 17:56:49 -05:00 committed by AndersBroman
parent b42628389e
commit 000c2c0bf4
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ static gboolean uat_expert_update_cb(void *r, char **err)
expert_level_entry_t *rec = (expert_level_entry_t *)r;
if (expert_registrar_get_byname(rec->field) == NULL) {
*err = ws_strdup_printf("Expert Info field doesn't exist");
*err = ws_strdup_printf("Expert Info field doesn't exist: %s", rec->field);
return FALSE;
}
return TRUE;