Log exceptions with stack traces in assistants