Avoid performance_report crashing when a worker dies mid-compute
@@ -412,7 +412,10 @@ class BandwidthWorkers(DashboardComponent):
return
def name(address):
+ try:
ws = self.scheduler.workers[address]
+ except KeyError:
+ return address
if ws.name is not None:
return str(ws.name)
else:
