Skip to content

Commit

Permalink
Merge pull request #157 from cdekok/bulk-response
Browse files Browse the repository at this point in the history
Add bulk response property
  • Loading branch information
jillesvangurp authored Dec 24, 2024
2 parents 0c69bef + 60b316b commit dd019ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ interface BulkItemCallBack {
fun bulkRequestFailed(e: Exception, ops: List<Pair<String, String?>>)
}

class BulkException(bulkResponse: BulkResponse) : Exception(
class BulkException(val bulkResponse: BulkResponse) : Exception(
"Bulk request completed with errors item statuses: [${
bulkResponse.itemDetails.map { (_, details) -> details.status }.distinct().joinToString(",")
}]"
Expand Down

0 comments on commit dd019ea

Please sign in to comment.