added a log message on failure

This commit is contained in:
Amy Bowersox 2019-12-09 12:30:54 -07:00
parent ccde6c71f9
commit 4c2e9d9e15
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ HRESULT Epython_register_constants(PyObject *module, PCREGCONSTANT const_table)
}
if (!rc)
{
Log(LERROR, "Failed to register constant %s", const_table[i].name);
hr = E_FAIL;
break;
}