Global error from workflow

I have developed a method by which I track the steps in a workflow. If an error occurs and the output goes to the global error routine, how can I access the workflow trace log steps within the workflow that caused the error?

Workflow trigger step
workflowstep.log workflowCommentsLog
workflowstep.log workflowCommentsLog
elc.

Global Error

How do I reference the workflowstep.log?

Plus, while I was testing this, apparently I can’t get the original Error messages to work and now nothing gets sent to my email. The purpose for this exercise was to locate an error within my workflow that was more detailed that the default error messsge.

Any ideas? Or is it even possible to access the workflow after the global error has been generated?

Thanks,

Scott.