diff --git a/wfc-common/wfc-common-core/src/main/java/org/wfc/common/core/utils/ResponseUtils.java b/wfc-common/wfc-common-core/src/main/java/org/wfc/common/core/utils/ResponseUtils.java index d7caf46..677c0c8 100644 --- a/wfc-common/wfc-common-core/src/main/java/org/wfc/common/core/utils/ResponseUtils.java +++ b/wfc-common/wfc-common-core/src/main/java/org/wfc/common/core/utils/ResponseUtils.java @@ -19,4 +19,9 @@ public class ResponseUtils { } } + public static void logResponse(Integer errorCode, String msg) { + if (errorCode != WifiConstants.ERROR_CODE_SUCCESS) { + log.error("Omada error msg: {}", msg); + } + } }