Error handling
Errors name their module
Every module prefixes its log entries with its name in square brackets:
2024-09-10 12:41:23,906 ERROR [fr.tec.ope.fee.VerticleManager] (vert.x-eventloop-thread-0) [Feeder] Failed to deploy verticle 'FeederVerticle_ClientProxy'
Where possible, the error also carries a code that maps to an action plan. See ADR 009.
A supporting service is missing
When a module cannot reach a service it depends on, the failure appears at startup. For Neo4j:
ERROR [fr.tec.ope.fee.VerticleManager] (vert.x-eventloop-thread-0) [Feeder] Failed to deploy verticle 'FeederVerticle_ClientProxy': org.neo4j.driver.exceptions.ServiceUnavailableException: Unable to connect to localhost:7687, ensure the database is running and that there is a working network connection to it.
- Cause. Modules that need Neo4j connect on port 7687 by default, and nothing answers there.
- Fix. Start the supporting services, or check that Neo4j is reachable at the configured address. See Local environment.