mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add back init scripts
Update cherrypy to 3.8.0 Remove unnecessary includes Remove old references to Headphones
This commit is contained in:
parent
4936ad0476
commit
0a170c20e6
22 changed files with 531 additions and 2250 deletions
|
@ -209,9 +209,11 @@ class LogManager(object):
|
|||
If ``traceback`` is True, the traceback of the current exception
|
||||
(if any) will be appended to ``msg``.
|
||||
"""
|
||||
exc_info = None
|
||||
if traceback:
|
||||
msg += _cperror.format_exc()
|
||||
self.error_log.log(severity, ' '.join((self.time(), context, msg)))
|
||||
exc_info = _cperror._exc_info()
|
||||
|
||||
self.error_log.log(severity, ' '.join((self.time(), context, msg)), exc_info=exc_info)
|
||||
|
||||
def __call__(self, *args, **kwargs):
|
||||
"""An alias for ``error``."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue