Workcraft src 575
Slight changes on error tracing function