Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mikkrg@microsoft.com>2018-04-17 13:34:24 +0300
committerMike Krüger <mikkrg@microsoft.com>2018-04-17 13:34:24 +0300
commitf9d5d8d7a98588cb7ddd0a7d1c72ed9bc30a7516 (patch)
tree3d84c6ec9616829e1efd83a54ce22a94b6a1640e /main/src/core/Mono.TextEditor.Shared/Mono.TextEditor/Document
parent27c053bec2bd5edec79a210482db4d2ab0b9cfe0 (diff)
[TextEditor] Cleaned up logging.
Diffstat (limited to 'main/src/core/Mono.TextEditor.Shared/Mono.TextEditor/Document')
-rw-r--r--main/src/core/Mono.TextEditor.Shared/Mono.TextEditor/Document/DiffTracker.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/Mono.TextEditor.Shared/Mono.TextEditor/Document/DiffTracker.cs b/main/src/core/Mono.TextEditor.Shared/Mono.TextEditor/Document/DiffTracker.cs
index 3312353b4e..ea9c688707 100644
--- a/main/src/core/Mono.TextEditor.Shared/Mono.TextEditor/Document/DiffTracker.cs
+++ b/main/src/core/Mono.TextEditor.Shared/Mono.TextEditor/Document/DiffTracker.cs
@@ -86,7 +86,7 @@ namespace Mono.TextEditor
var lineNumber = startLine.LineNumber;
lineStates.RemoveRange (lineNumber, endRemoveLine.LineNumber - lineNumber);
} catch (Exception ex) {
- LoggingService.LogError ("error while DiffTracker.TrackDocument_TextChanging:" + ex);
+ LoggingService.LogError ("error while DiffTracker.TrackDocument_TextChanging", ex);
}
}
}
@@ -113,7 +113,7 @@ namespace Mono.TextEditor
if (trackDocument != null)
trackDocument.CommitMultipleLineUpdate (lineNumber, lineNumber + insertedLines);
} catch (Exception ex) {
- LoggingService.LogError ("error while DiffTracker.TrackDocument_TextChanged:" + ex);
+ LoggingService.LogError ("error while DiffTracker.TrackDocument_TextChanged", ex);
}
}
}