CORS error when microservice endpoint is down

I’m developing a web app using a microservice architecture. The emberjs frontend accesses a backend service via its REST API.

When the backend microservice isn’t running, the frontend receives a CORS error. This is misleading because the service is not running, so of course there won’t be a CORS header.

Is there a way to improve this?