Skip to content

Commit cc687fa

Browse files
committed
add context information to warning log message
1 parent aef31ce commit cc687fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyff/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ def notify(self, *args, **kwargs):
968968
cb(*args, **kwargs)
969969
except BaseException as ex:
970970
log.debug(traceback.format_exc())
971-
log.warning(ex)
971+
log.warning(f'Callback {cb} failed: {ex}')
972972

973973

974974
def utc_now() -> datetime:

0 commit comments

Comments
 (0)