added a log message on failure
This commit is contained in:
parent
ccde6c71f9
commit
4c2e9d9e15
|
@ -64,6 +64,7 @@ HRESULT Epython_register_constants(PyObject *module, PCREGCONSTANT const_table)
|
||||||
}
|
}
|
||||||
if (!rc)
|
if (!rc)
|
||||||
{
|
{
|
||||||
|
Log(LERROR, "Failed to register constant %s", const_table[i].name);
|
||||||
hr = E_FAIL;
|
hr = E_FAIL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user