Update git submodules
* Update os-api-ref from branch 'master' to 3d4f056ca3fa870000391f02cea2120392ddfbfd - Fix exception logging When an exception happens while executing the method `_load_param_file`, the exception logging `LOG.exception(exc_info=exc)` will generate an error. A small snippet to reproduce the issue is the following code: from sphinx.util import logging LOG = logging.getLogger(__name__) try: raise Exception("teste") except Exception as exc: LOG.exception(exc_info=exc) Which will generate the error: Exception: teste During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/rafael/git/os-api-ref/os_api_ref/test-logging.py", line 8, in <module> LOG.exception(exc_info=exc) TypeError: exception() missing 1 required positional argument: 'msg' Process finished with exit code 1 With this fix, the exception logging error is solved, and users get a meaningful message. Change-Id: Ib3c3e93c283d86b9708c74e60c2ac5762dc2c222
This commit is contained in:
parent
1962b7fb0a
commit
b2f33003c8
|
@ -1 +1 @@
|
|||
Subproject commit 8aa8e717995c5c6527ca18422c7bfb8b7b2bda9c
|
||||
Subproject commit 3d4f056ca3fa870000391f02cea2120392ddfbfd
|
Loading…
Reference in New Issue