Skip to content

Commit 99bef82

Browse files
authored
feat(api): change log level from error to warn for url parsing (#5496)
1 parent 326b782 commit 99bef82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

framework/src/main/java/org/tron/core/services/filter/HttpApiAccessFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ private boolean isDisabled(String endpoint) {
6565
disabled = disabledApiList.contains(endpoint.split("/")[2].toLowerCase());
6666
}
6767
} catch (Exception e) {
68-
logger.error("check isDisabled except, endpoint={}, error is {}", endpoint, e.getMessage());
68+
logger.warn("check isDisabled except, endpoint={}, {}", endpoint, e.getMessage());
6969
}
7070

7171
return disabled;

0 commit comments

Comments
 (0)