<!-- Hi, you're about to write a bug report. Are you sure it is about the agent? General support requests and issues with hercules-ci.com are handled at https://github.com/hercules-ci/support/issues After reporting the bug, we try to investigate as soon as possible, to - preferably, fix a bug, or - help solve the problem, or - create a feature request for missing functionality Note that text before the --'s and the > is not visible after submission. --> **Description** Agent service starts successfully but then crashes on job if secrets.json has incorrect layout. **To Reproduce** Example secrets.json: ``` { "example": { "condition": ..., "data": "FAIL" } } ``` **Expected behavior** Crash on service startup. **Logs** On job in web ui: ``` FatalError {fatalErrorMessage = "Could not parse secrets file as configured on agent."} (worker: ExitFailure 1) ``` **Platform / Version** NixOS x86_64-linux, hercules-ci-agent 0.9.11