You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Rubberduck.Parsing/VBA/ComponentParseTask.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ public void Start(CancellationToken cancellationToken)
87
87
}
88
88
catch(COMExceptionexception)
89
89
{
90
-
Logger.Error(exception,$"Exception thrown in thread {Thread.CurrentThread.ManagedThreadId} while parsing module {_qualifiedName.Name}, ParseTaskID {_taskId}.");
90
+
Logger.Error(exception,$"COM Exception thrown in thread {Thread.CurrentThread.ManagedThreadId} while parsing module {_qualifiedName.Name}, ParseTaskID {_taskId}.");
91
91
varfailedHandler=ParseFailure;
92
92
failedHandler?.Invoke(this,newParseFailureArgs
93
93
{
@@ -96,8 +96,8 @@ public void Start(CancellationToken cancellationToken)
96
96
}
97
97
catch(SyntaxErrorExceptionexception)
98
98
{
99
-
Logger.Warn($"Syntax error; offending token '{exception.OffendingSymbol.Text}' at line {exception.LineNumber}, column {exception.Position} in module {_qualifiedName}.");
100
-
Logger.Error(exception,$"Exception thrown in thread {Thread.CurrentThread.ManagedThreadId}, ParseTaskID {_taskId}.");
99
+
Logger.Error($"Syntax error; offending token '{exception.OffendingSymbol.Text}' at line {exception.LineNumber}, column {exception.Position} in module {_qualifiedName}.");
100
+
Logger.Debug(exception,$"SyntaxErrorException thrown in thread {Thread.CurrentThread.ManagedThreadId}, ParseTaskID {_taskId}.");
101
101
varfailedHandler=ParseFailure;
102
102
failedHandler?.Invoke(this,newParseFailureArgs
103
103
{
@@ -115,7 +115,7 @@ public void Start(CancellationToken cancellationToken)
115
115
}
116
116
catch(Exceptionexception)
117
117
{
118
-
Logger.Error(exception,$"Exception thrown in thread {Thread.CurrentThread.ManagedThreadId} while parsing module {_qualifiedName.Name}, ParseTaskID {_taskId}.");
118
+
Logger.Error(exception,$" Unexpected exception thrown in thread {Thread.CurrentThread.ManagedThreadId} while parsing module {_qualifiedName.Name}, ParseTaskID {_taskId}.");
Logger.Warn(ex,"SLL mode failed in module {0}. Retrying using LL.",moduleName);
28
+
Logger.Warn($"SLL mode failed in module {moduleName} at symbol {syntaxErrorException.OffendingSymbol.Text} at L{syntaxErrorException.LineNumber}C{syntaxErrorException.Position}. Retrying using LL.");
0 commit comments