Fixed RunMode.Sync running Async. Added ThrowOnError option.

This commit is contained in:
RogueException
2017-03-18 21:38:28 -03:00
parent 83bd16f329
commit 3fb21e06c2
3 changed files with 11 additions and 3 deletions

View File

@@ -11,5 +11,11 @@
/// <summary> Gets or sets the minimum log level severity that will be sent to the Log event. </summary>
public LogSeverity LogLevel { get; set; } = LogSeverity.Info;
/// <summary>
/// Gets or sets whether RunMode.Sync commands should push exceptions up to the caller.
/// If false or an RunMode.Async command, exceptions are only reported in the Log event.
///</summary>
public bool ThrowOnError { get; set; } = true;
}
}