Anilople / Sentinel

A powerful flow control component enabling reliability, resilience and monitoring for microservices. (面向云原生微服务的高可用流控防护组件)
https://anilople.github.io/Sentinel/
Apache License 2.0
1 stars 9 forks source link

fix(dashboard): registry multiple projects will throw exception when app id doesn't exist #20

Closed Anilople closed 3 years ago

Anilople commented 3 years ago

Describe what this PR does / why we need it

fix(dashboard): registry multiple projects will throw exception when app id doesn't exist.

That will cause authorization failed in the middle.

Does this pull request fix one issue?

NONE

Describe how you did it

Catch exception when use method com.alibaba.csp.sentinel.dashboard.apollo.service.ApolloPortalService#assignAppRoleToSentinelDashboard

Describe how to verify it

Manually.

Special notes for reviews