better message
(because I was always fooled by this cleaning error message displayed BEFORE the real error!)
This commit is contained in:
@@ -85,13 +85,13 @@ namespace Sep.Git.Tfs.Commands
|
||||
catch (IOException e)
|
||||
{
|
||||
// swallow IOException. Smth went wrong before this and we're much more interested in that error
|
||||
string msg = String.Format("Something went wrong, can't cleanup files because of IOException:\n{0}\n", e.IndentExceptionMessage());
|
||||
string msg = String.Format("warning: Something went wrong while cleaning file after internal error (See below).\n Can't cleanup files because of IOException:\n{0}\n", e.IndentExceptionMessage());
|
||||
Trace.WriteLine(msg);
|
||||
}
|
||||
catch (UnauthorizedAccessException e)
|
||||
{
|
||||
// swallow it also
|
||||
string msg = String.Format("Something went wrong, can't cleanup files because of UnauthorizedAccessException:\n{0}\n", e.IndentExceptionMessage());
|
||||
string msg = String.Format("warning: Something went wrong while cleaning file after internal error (See below).\n Can't cleanup files because of UnauthorizedAccessException:\n{0}\n", e.IndentExceptionMessage());
|
||||
Trace.WriteLine(msg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user