Skip to content

Commit

Permalink
feat: update delete catch logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarlic committed Oct 3, 2024
1 parent 4ceed5a commit 3adbae8
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,7 @@ public boolean delete(String tbkUser, String username)
);
return true;
} catch (TransbankHttpApiException e) {
if (e.getCode() != 204) {
return false;
}
throw new InscriptionDeleteException(e);
} catch (TransbankException e) {
throw new InscriptionDeleteException(e);
}
Expand Down

0 comments on commit 3adbae8

Please sign in to comment.