diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-19 11:34:48 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-23 13:51:14 +0200 |
commit | b74a05cf38c2677029d14d6cc47be20689a09012 (patch) | |
tree | 6cc1bf434cf4f94e13f09257978d342bbc7de6b9 /src | |
parent | bdf4c60411344473334fede743fbe524d162331a (diff) |
client: log error on refresh
Report failure when trying to refresh client information.
Diffstat (limited to 'src')
-rw-r--r-- | src/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c index cfc375e..e3d8dec 100644 --- a/src/client.c +++ b/src/client.c @@ -881,6 +881,8 @@ static int og_resp_refresh(json_t *data, struct og_client *cli) og_boot_entry_free(&boot_entry_list); return 0; err_out: + syslog(LOG_ERR, "Failed to refresh info from client %s\n", + inet_ntoa(cli->addr.sin_addr)); og_cache_image_free(&cache_list); og_boot_entry_free(&boot_entry_list); return -1; |