diff --git a/src/pages/api/services/index.js b/src/pages/api/services/index.js index c635d6b2e..52951fbb2 100644 --- a/src/pages/api/services/index.js +++ b/src/pages/api/services/index.js @@ -7,15 +7,17 @@ export default async function handler(req, res) { try { discoveredServices = cleanServiceGroups(await servicesFromDocker()); - } catch { - console.error("Failed to discover services, please check docker.yaml for errors"); + } catch (e) { + console.error("Failed to discover services, please check docker.yaml for errors or remove example entries."); + console.error(e); discoveredServices = []; } try { configuredServices = cleanServiceGroups(await servicesFromConfig()); - } catch { + } catch (e) { console.error("Failed to load services.yaml, please check for errors"); + console.error(e); configuredServices = []; }