Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #976 from cardano-foundation/feature/MET-1703-vali…
Browse files Browse the repository at this point in the history
…date-bolnisi-metadata

fix: wrong handle on error
  • Loading branch information
Sotatek-DucPhung authored Jan 22, 2024
2 parents 45aeb08 + c0835b6 commit d908e0f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,12 @@ public Map<String, List<Object>> getOffChainMetadata(MetadataBolnisi metadataBol
metadataBolnisi.setWineryData(null);
}
})
.doOnError(throwable -> {
.onErrorComplete(throwable -> {
log.error("Error while getting bolnisi off-chain metadata", throwable);
metadataBolnisi.setExternalApiAvailable(false);
metadataBolnisi.setCidVerified(false);
metadataBolnisi.setWineryData(null);
return true;
})
.block();
}
Expand Down

0 comments on commit d908e0f

Please sign in to comment.