Commit graph

6 commits

Author SHA1 Message Date
Jonathan Barrow
915b52c88d
chore: migrate to SQL manager 2024-04-27 16:22:30 -04:00
Daniel López Guimaraes
06d89d8b77
Add missing error handling and update modules 2023-08-15 20:56:01 +01:00
Daniel López Guimaraes
8d8a05a7e2
Add missing error handling
Now database getters do error handling aswell, and in case of any error,
the NEX or GRPC method throws a proper error about it.

There are still some doubts on how to handle errors when a list of data
is processed, so for now skip that element on the list and continue.

Also add some constant errors to do better error handling.
2023-08-13 23:19:34 +01:00
Daniel López Guimaraes
2f80336681
Rename friends-secure to friends and remove Mongo
Replace MongoDB usage with GRPC calls to the account server. Also
include documentation on the README and a Makefile.
2023-08-13 01:05:08 +01:00
Daniel López Guimaraes
3d5e78f532
Improve error handling
Now that we can return errors to nex-protocols-go and it will handle it,
we can improve how errors are being handled in friends.

There's probably room for improvement from this, since I haven't added
error handling on some database getters due to uncertainties on whether
the error should interrupt an action or not.
2023-08-12 23:53:21 +01:00
light
598a75f37d Add blocking features and refactor a bit 2023-03-31 17:05:35 -04:00