Summary
If an exception is thrown within the action, an error messages will be sent to the trace output
containing information about the current module and the exception message.
The exception will also be re-thrown once the message has been sent to the trace listeners.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Execution - Containing Type
- Trace
Exceptions Extensions
Syntax
public static void TraceExceptions(this IExecutionContext context, Action action)
Parameters
Name | Type | Description |
---|---|---|
context | IExecutionContext | The current execution context. |
action | Action | The action to evaluate. |
Return Value
Type | Description |
---|---|
void |