added stack trace to error objects in log