added stack trace to logs