File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
dongtai-core/src/main/java/io/dongtai/iast/core/utils Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public static Set<String>[] loadConfigFromFile(String filename) {
4545 }
4646 }
4747 }
48- } catch (IOException e ) {
48+ } catch (Exception e ) {
4949 DongTaiLog .error (ErrorCode .get ("UTIL_CONFIG_LOAD_FAILED" ), filename , e );
5050 }
5151 return new HashSet []{container , startWith , endWith };
@@ -61,7 +61,7 @@ public static String[] loadExtConfigFromFile(String filename) {
6161 String exts = lineIterator .nextLine ().trim ();
6262 extStringArray = exts .split ("," );
6363 }
64- } catch (IOException e ) {
64+ } catch (Exception e ) {
6565 DongTaiLog .error (ErrorCode .get ("UTIL_CONFIG_LOAD_FAILED" ), filename , e );
6666 }
6767 return extStringArray ;
@@ -77,7 +77,7 @@ public static Set<String> loadConfigFromFileByLine(String filename) {
7777 String line = lineIterator .nextLine ().trim ();
7878 container .add (line );
7979 }
80- } catch (IOException e ) {
80+ } catch (Exception e ) {
8181 DongTaiLog .error (ErrorCode .get ("UTIL_CONFIG_LOAD_FAILED" ), filename , e );
8282 }
8383 return container ;
Original file line number Diff line number Diff line change @@ -113,15 +113,15 @@ public String toString() {
113113 }
114114
115115 public String getBlackClassFilePath () {
116- return "io.dongtai.resources/blacklist.txt" ;
116+ return "io.dongtai.iast. resources/blacklist.txt" ;
117117 }
118118
119119 public String getBlackUrl () {
120- return "io.dongtai.resources/blackurl.txt" ;
120+ return "io.dongtai.iast. resources/blackurl.txt" ;
121121 }
122122
123123 public String getBlackExtFilePath () {
124- return "io.dongtai.resources/blackext.txt" ;
124+ return "io.dongtai.iast. resources/blackext.txt" ;
125125 }
126126
127127 public String getDumpClassPath () {
You can’t perform that action at this time.
0 commit comments