diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-06 15:57:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-06 15:57:47 +0100 |
commit | e961d5cdb3ca139361a47e626ddef8dba109a195 (patch) | |
tree | 805d9118e2cd0f62fc16c11cf2de39c8556477bb /src/backend | |
parent | 4b9062c3a7d38c41ba970e630e759a899b171e71 (diff) |
improve logging for #7549
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/taler-merchant-httpd_statics.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_statics.c b/src/backend/taler-merchant-httpd_statics.c index 0cf54713..6b4ff351 100644 --- a/src/backend/taler-merchant-httpd_statics.c +++ b/src/backend/taler-merchant-httpd_statics.c @@ -298,12 +298,16 @@ TMH_statics_init () ret = GNUNET_DISK_directory_scan (dn, &load_static_file, NULL); - GNUNET_free (dn); if (-1 == ret) { - GNUNET_break (0); + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Could not load static resources from `%s': %s\n", + dn, + strerror (errno)); + GNUNET_free (dn); return GNUNET_SYSERR; } + GNUNET_free (dn); return GNUNET_OK; } |