From 8ebca1507adf45dca8df40c8cb7e5c435ac2de7b Mon Sep 17 00:00:00 2001 From: Abit Date: Wed, 24 Jul 2024 16:29:51 +0200 Subject: [PATCH 1/2] Update binding exception logging level to warning --- src/network/tcp_socket.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/network/tcp_socket.cpp b/src/network/tcp_socket.cpp index 0077cb849..8f433ab84 100644 --- a/src/network/tcp_socket.cpp +++ b/src/network/tcp_socket.cpp @@ -166,7 +166,8 @@ namespace fc { } catch (const std::exception& except) { - elog("Exception binding outgoing connection to desired local endpoint ${endpoint}: ${what}", ("endpoint", local_endpoint)("what", except.what())); + wlog("Exception binding outgoing connection to desired local endpoint ${endpoint}: ${what}", + ("endpoint", local_endpoint)("what", except.what())); FC_THROW("error binding to ${endpoint}: ${what}", ("endpoint", local_endpoint)("what", except.what())); } } From 5d0284a5e485e832cc48916989ed720a4f6491d9 Mon Sep 17 00:00:00 2001 From: Abit Date: Wed, 24 Jul 2024 16:39:19 +0200 Subject: [PATCH 2/2] Update path of sonar-scanner-cli --- .github/workflows/sonar-scan.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml index e9da6e2b4..296beaf1e 100644 --- a/.github/workflows/sonar-scan.yml +++ b/.github/workflows/sonar-scan.yml @@ -18,12 +18,12 @@ jobs: 2>/dev/null | cut -f8 -d'/'` SONAR_DOWNLOAD_PATH=https://binaries.sonarsource.com/Distribution/sonar-scanner-cli curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip \ - $SONAR_DOWNLOAD_PATH/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip + $SONAR_DOWNLOAD_PATH/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux-x64.zip unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip \ https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/ - SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux + SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux-x64 echo "SONAR_SCANNER_VERSION=$SONAR_SCANNER_VERSION" >> $GITHUB_ENV echo "SONAR_SCANNER_HOME=$SONAR_SCANNER_HOME" >> $GITHUB_ENV echo "SONAR_SCANNER_OPTS=-server" >> $GITHUB_ENV