Skip to content

Commit

Permalink
[API/Vulcan] Actually ignore 404 response on Addressbook.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba2k2 committed Nov 25, 2022
1 parent 710d82d commit 86eb1a0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,9 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) {
setTextBody(jsonString, MediaTypeUtils.APPLICATION_JSON)
}
}

if (allow404)
allowErrorCode(HttpURLConnection.HTTP_NOT_FOUND)
}
.allowErrorCode(HttpURLConnection.HTTP_BAD_REQUEST)
.allowErrorCode(HttpURLConnection.HTTP_FORBIDDEN)
Expand Down

0 comments on commit 86eb1a0

Please sign in to comment.