From: Romain Forlot Date: Thu, 28 Nov 2019 13:09:19 +0000 (+0100) Subject: init: Improve error message when not finding config file X-Git-Tag: 8.99.5~43 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=438ab8bed89280d0ae4a2ef1be7e113160212c25;p=apps%2Fagl-service-can-low-level.git init: Improve error message when not finding config file Bug-AGL: SPEC-2988 Change-Id: I9a9dec6e577881bbd784bcae1d17ddb244d94599 Signed-off-by: Romain Forlot --- diff --git a/low-can-binding/binding/low-can-cb.cpp b/low-can-binding/binding/low-can-cb.cpp index aaf39d97..1ff1d9da 100644 --- a/low-can-binding/binding/low-can-cb.cpp +++ b/low-can-binding/binding/low-can-cb.cpp @@ -941,7 +941,7 @@ int load_config(afb_api_t api) if (!configPath) { - AFB_ERROR_V3("CtlPreInit: No control-* config found invalid JSON %s ", filepath.c_str()); + AFB_ERROR_V3("CtlPreInit: No control-%s* config found invalid JSON %s ", GetBinderName(), filepath.c_str()); return -1; }