Homec4science

MiscUtil: migrate to exception logging

Description

MiscUtil: migrate to exception logging

  • Migrates error logging to new exception-based technique. (addresses #580)
  • Creates class InvenioMiscUtilError and adds the methodsinit() and str().
  • Deletes functions 'register_errors()', 'get_msg_associated_to_code()', 'get_msgs_for_code_list()', 'log()'.
  • Deletes var CFG_MISCUTIL_ERROR_MESSAGES.
  • Deletes tests in 'errorlib_tests.py' that use this variable and these removed functions.
  • All Invenio modules are now migrated to exception logging. (closes #580)

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Feb 12 2012, 10:49
Parents
R3600:2832a5d1204f: WebStyle: migrate to exception logging
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:579c2114e4ab: MiscUtil: migrate to exception logging (authored by Raquel Jimenez Encinar <raquel.jimenez.encinar@cern.ch>).Feb 12 2012, 10:49