"Unkown warning type"

Discussion in 'Support requests' started by Pedro Morais, Nov 10, 2020.

  1. Hi,

    We're currently using the mju_user_warning handler to hook into our own diagnostics reporting system, and recently have started to get a "Unkown warning type" message with no further context and are not sure what's generating it. We're currently propagating warnings to our system essentially like so:

    *mju_user_warning = [](auto str){ our_report_system::log(str); };

    You mentioned here that low-level warnings do not have a type but still have text. Is there a different system than mju_user_warning for extracting this text that we're not hooking into or is something else going wrong?

    Thanks