Skip to content

Commit 1df9afb

Browse files
author
Ask Solem
committed
Another typo in logging adapter
1 parent 118cf0a commit 1df9afb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

celery/utils/compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,10 @@ def critical(self, msg, *args, **kwargs):
329329
self.log(logging.CRITICAL, msg, args, **kwargs)
330330
fatal = critical
331331

332-
def log(self, level, msg, args, exc_info=None, extra=None):
332+
def log(self, level, msg, args, **kwargs):
333333
if self.logger.isEnabledFor(level):
334334
msg, kwargs = self.process(msg, kwargs)
335-
self._log(level, msg, args, exc_info=None, extra=None)
335+
self._log(level, msg, args, **kwargs)
336336

337337
def makeRecord(self, name, level, fn, lno, msg, args, exc_info,
338338
func=None, extra=None):

0 commit comments

Comments
 (0)