Skip to content

Commit

Permalink
fix: 주석 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongUijeong committed Dec 8, 2023
1 parent 40aeb0c commit 7137160
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void getData(int pageSize, int pageNum) throws JSONException {
.getJSONObject("items")
.getJSONArray("item");
for (int j = 0; j < base.length(); j++) {
// try {
try {
JSONObject baseItem = base.getJSONObject(j);
int contentId = baseItem.getInt("contentid");

Expand Down Expand Up @@ -129,9 +129,9 @@ public void getData(int pageSize, int pageNum) throws JSONException {
Product product = saveProduct(baseItem, common, intro);
saveProductImages(product, images);
saveRooms(product, intro, info);
// } catch (Exception e) {
// log.info("데이터가 형식에 맞지 않습니다. 다음 숙소를 조회합니다.");
// }
} catch (Exception e) {
log.info("데이터가 형식에 맞지 않습니다. 다음 숙소를 조회합니다.");
}
}
} catch (Exception e) {
log.error(e.getMessage());
Expand Down

0 comments on commit 7137160

Please sign in to comment.