#580: errorlib: migrate old ERR logging style to exception logging
-----------------------+----------------------
Reporter: simko | Owner: rajimene
Type: defect | Status: closed
Priority: major | Milestone:
Component: MiscUtil | Version:
Resolution: fixed | Keywords:
-----------------------+----------------------
Changes (by Raquel Jimenez Encinar <raquel.jimenez.encinar@…>):
* status: in_merge => closed
* resolution: => fixed
Comment:
In [579c2114e4abefbf4a40280defd93871748e8e9c]:
{{{
#!CommitTicketReference repository=""
revision="579c2114e4abefbf4a40280defd93871748e8e9c"
MiscUtil: migrate to exception logging
* Migrates error logging to new exception-based technique. (addresses
#580)
* Creates class InvenioMiscUtilError and adds the methods__init__() 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)
}}}
--
Ticket URL: </ticket/580#comment:11>
Invenio <http://invenio-software.org>