Skip to content

Commit

Permalink
Warn on Filter Error
Browse files Browse the repository at this point in the history
  • Loading branch information
jeschu1 committed Oct 22, 2018
1 parent 9b2d5a8 commit bd04a19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion GVFS/GVFS.Platform.Windows/ProjFSFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ public static bool TryAttach(ITracer tracer, string enlistmentRoot, out string e
if (result != OkResult && result != NameCollisionErrorResult)
{
errorMessage = string.Format("Attaching the filter driver resulted in: {0}", result);
tracer.RelatedError(errorMessage);
// This code is shared between GVFS.exe and GVFS.Service.exe
// GVFS.exe failures will be retried by GVFS.Service.exe
// Warn the user and allow the caller to determine how to handle the error
tracer.RelatedWarning(errorMessage);
return false;
}
}
Expand Down

0 comments on commit bd04a19

Please sign in to comment.