log TaskCanceledExceptions

This commit is contained in:
Collin M. Barrett 2019-06-28 18:42:14 -05:00
parent 301d5f70b3
commit 83b4d77e7e

View file

@ -51,6 +51,11 @@ protected override async Task Handle(Command request, CancellationToken cancella
_logger.LogError(ex,
$"Error downloading list {request.ListInfo.Id} from {request.ListInfo.ViewUrl}.");
}
catch (TaskCanceledException ex)
{
_logger.LogError(ex,
$"Error downloading list {request.ListInfo.Id} from {request.ListInfo.ViewUrl}.");
}
}
}
}