WebOfTrust / keria

KERI Agent in the cloud
https://keria.readthedocs.io/en/latest/
Apache License 2.0
18 stars 29 forks source link

Check agency db on cold start #181

Closed kentbull closed 8 months ago

kentbull commented 8 months ago

On a restart of the KERIA service the agency has an empty list of agents and thus always tries to create an agent, which causes a 500. This manually checks the agency DB if the self.agency.agents is empty which fixes the problem.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (release-0.1.0-rc.1@34d2a36). Click here to learn what that means.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-0.1.0-rc.1 #181 +/- ## ===================================================== Coverage ? 92.71% ===================================================== Files ? 38 Lines ? 6592 Branches ? 0 ===================================================== Hits ? 6112 Misses ? 480 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.