adds details to the changeset

Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
Brian Fletcher
2022-01-28 11:31:09 +00:00
parent 8030dc7dd5
commit 947f1098ee
+22 -1
View File
@@ -2,4 +2,25 @@
'@backstage/plugin-proxy-backend': patch
---
If one of the configured proxies is configured badly enough to cause an exception when the middleware is being built it will now pass by it and continue the server startup. Previously the backend would fail to startup.
If one of the configured proxies is configured badly enough to cause an exception when the middleware is being built it can now be configured to pass the bad proxy by and continue the server startup. Previously the backend would fail to startup.
To configure it to pass by failing proxies:
```
const router = await createRouter({
config,
logger,
discovery,
skipBrokenProxies: true,
});
```
If you would like it to fail if a proxy is configured badly:
```
const router = await createRouter({
config,
logger,
discovery,
});
```