Commit 0ab34b45 authored by 董建华's avatar 董建华

加载条件变更

parent ff4b8faf
......@@ -27,7 +27,8 @@ import org.springframework.context.annotation.Configuration;
*/
@Slf4j
@ConditionalOnProperty(
name = {"sentry.dsn","threrr"}
name = {"sentry.dsn"},
prefix = "threrr"
)
@Configuration
@EnableConfigurationProperties({SentryProperties.class,ThrErrProProperties.class})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment