Adding more continuewithonfaulted handlers (#507)

This commit is contained in:
Benjamin Russell
2017-10-20 11:31:31 -07:00
committed by GitHub
parent d222af7824
commit 605f5e9f7b
3 changed files with 15 additions and 16 deletions

View File

@@ -332,7 +332,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer
await serviceHost.SendEvent(CreateSessionCompleteNotification.Type, response);
}
return result;
});
}).ContinueWithOnFaulted(null);
}
}
@@ -537,7 +537,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer
await serviceHost.SendEvent(ExpandCompleteNotification.Type, response);
}
return result;
});
}).ContinueWithOnFaulted(null);
}
private async Task<ObjectExplorerTaskResult> RunTaskWithTimeout(Task task, int timeoutInSec)