From 100e40df7601e6fbec6edc7b389060bfe3198185 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauld.mccarthy@gmail.com>
Date: Fri, 13 May 2016 11:02:33 +0100
Subject: [PATCH] Async log statement adjusted.

---
 fsl/utils/async.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fsl/utils/async.py b/fsl/utils/async.py
index 69bd30235..809599a3c 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
-- 
GitLab