[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: improve logging for #7549
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: improve logging for #7549 |
Date: |
Fri, 06 Jan 2023 15:58:16 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new e961d5cd improve logging for #7549
new 59971311 Merge branch 'master' of git+ssh://git.taler.net/merchant
e961d5cd is described below
commit e961d5cdb3ca139361a47e626ddef8dba109a195
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jan 6 15:57:47 2023 +0100
improve logging for #7549
---
src/backend/taler-merchant-httpd_statics.c | 8 ++++++--
1 file 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;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: improve logging for #7549,
gnunet <=