Commit 5acdfba4 authored by 钱坤's avatar 钱坤

e.printStackTrace()改为log.error()

parent fbc5a161
...@@ -164,7 +164,7 @@ public class ESHelper { ...@@ -164,7 +164,7 @@ public class ESHelper {
System.out.println(hit.getFields()); System.out.println(hit.getFields());
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); // e.printStackTrace();
} }
System.out.println("done"); System.out.println("done");
......
...@@ -136,7 +136,7 @@ public class TencentcloudUtils { ...@@ -136,7 +136,7 @@ public class TencentcloudUtils {
System.out.println(Arrays.toString(res.getKeywords())); System.out.println(Arrays.toString(res.getKeywords()));
System.out.println(imgRes.getData()); System.out.println(imgRes.getData());
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); // e.printStackTrace();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment