diff --git a/fsl/utils/async.py b/fsl/utils/async.py index 69bd3023515af1aa5d1ee716a0fd8c30ee14b35e..809599a3c9d0fb9d7385dd87c244c60a66886fc6 100644 --- a/fsl/utils/async.py +++ b/fsl/utils/async.py @@ -102,7 +102,7 @@ def run(task, onFinish=None, onError=None, name=None): except Exception as e: - log.warn('Task "{}" crashed', exc_info=True) + log.warn('Task "{}" crashed'.format(name), exc_info=True) callback(onError, e) # If WX, run on a thread