We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbb3d1b commit 0bf1672Copy full SHA for 0bf1672
src/GitVersionCore/Logger.cs
@@ -59,9 +59,9 @@ static Action<string> LogMessage(Action<string> logAction, string level)
59
60
public static void Reset()
61
{
62
- WriteInfo = s => { throw new Exception("Logger not defined."); };
63
- WriteWarning = s => { throw new Exception("Logger not defined."); };
64
- WriteError = s => { throw new Exception("Logger not defined."); };
+ WriteInfo = s => { throw new Exception("Info logger not defined. Attempted to log: " + s); };
+ WriteWarning = s => { throw new Exception("Warning logger not defined. Attempted to log: " + s); };
+ WriteError = s => { throw new Exception("Error logger not defined. Attempted to log: " + s); };
65
}
66
67
class ActionDisposable : IDisposable
0 commit comments