Try to log the stack trace