diff --git a/server/core/config.cc b/server/core/config.cc index ae5e15294..c87cd1b6e 100644 --- a/server/core/config.cc +++ b/server/core/config.cc @@ -3160,10 +3160,15 @@ const char* param_type_to_str(const MXS_MODULE_PARAM* params, const char* name) case MXS_MODULE_PARAM_PATH: return "a path to a file"; - default: - mxb_assert_message(!true, "Unknown parameter type"); - return ""; + case MXS_MODULE_PARAM_DURATION: + return "a duration"; } + + mxb_assert_message(!true, + "Unknown parameter type: dec %d hex %x", + params[i].type, + params[i].type); + return ""; } }