Replaced Debug.WriteLine with Trace.TraceError in TriggerAction

Closes #160