Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions GVFS/GVFS.Service/ProductUpgradeTimer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,22 +223,12 @@ private void TimerCallback(object unusedState)
this.DisplayUpgradeAvailableToast(newerVersion.ToString());
}
}
catch (Exception ex) when (
ex is IOException ||
ex is UnauthorizedAccessException ||
ex is NotSupportedException)
catch (Exception ex)
{
this.tracer.RelatedWarning(
CreateEventMetadata(ex),
"Exception encountered recording highest available version");
}
catch (Exception ex)
{
this.tracer.RelatedError(
CreateEventMetadata(ex),
"Unhanlded exception encountered recording highest available version");
Environment.Exit((int)ReturnCode.GenericError);
}
}
}

Expand Down