【发布时间】:2020-12-01 12:25:25
【问题描述】:
我有一个 Spring Boot 应用程序:
Spring Boot 2.3.2.RELEASE
sentry-spring 1.7.30
sentry-logging 1.7.30
我想在 application.yml 中设置 dsn:
sentry:
dsn: ${DSN}
但它不起作用。 它仅在我创建具有相同属性(硬编码)的 sentry.properties 时才有效。 我的问题是 yml 配置有什么问题?
【问题讨论】:
标签: spring-boot sentry