Branch: Tag:

2016-05-11

2016-05-11 15:09:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SNMP: Improved diagnostic message.

This should make it easier to catch bugs like [bug 7686 (#7686)].

29:    if (fun) {    mixed val = fun();    if (undefinedp (val)) { -  werror ("SNMP: Got undefined value from callback\n%s\n", -  describe_backtrace (backtrace())); +  werror("SNMP: Got undefined value from callback %O.\n" +  "%s\n", +  fun, describe_backtrace(backtrace()));    }    this_object()->init (val);    this_object()->der = UNDEFINED;