try
{
foreach (var tab in tabs)
- await tab.RefreshAsync(this.tw, loadMore, this._initial, this.workerProgress);
+ {
+ try
+ {
+ await tab.RefreshAsync(this.tw, loadMore, this._initial, this.workerProgress);
+ }
+ catch (WebApiException ex)
+ {
+ this._myStatusError = true;
+ this.StatusLabel.Text = $"Err:{ex.Message}(GetSearch)";
+ }
+ }
this.RefreshTimeline();
}
- catch (WebApiException ex)
- {
- this._myStatusError = true;
- this.StatusLabel.Text = $"Err:{ex.Message}(GetSearch)";
- }
finally
{
this.workerSemaphore.Release();
try
{
foreach (var tab in tabs)
- await tab.RefreshAsync(this.tw, loadMore, this._initial, this.workerProgress);
+ {
+ try
+ {
+ await tab.RefreshAsync(this.tw, loadMore, this._initial, this.workerProgress);
+ }
+ catch (WebApiException ex)
+ {
+ this._myStatusError = true;
+ this.StatusLabel.Text = $"Err:{ex.Message}(GetUserTimeline)";
+ }
+ }
this.RefreshTimeline();
}
- catch (WebApiException ex)
- {
- this._myStatusError = true;
- this.StatusLabel.Text = $"Err:{ex.Message}(GetUserTimeline)";
- }
finally
{
this.workerSemaphore.Release();
try
{
foreach (var tab in tabs)
- await tab.RefreshAsync(this.tw, loadMore, this._initial, this.workerProgress);
+ {
+ try
+ {
+ await tab.RefreshAsync(this.tw, loadMore, this._initial, this.workerProgress);
+ }
+ catch (WebApiException ex)
+ {
+ this._myStatusError = true;
+ this.StatusLabel.Text = $"Err:{ex.Message}(GetListStatus)";
+ }
+ }
this.RefreshTimeline();
}
- catch (WebApiException ex)
- {
- this._myStatusError = true;
- this.StatusLabel.Text = $"Err:{ex.Message}(GetListStatus)";
- }
finally
{
this.workerSemaphore.Release();