Skip to content

Commit

Permalink
Provide proper error message in Reactive REST Client for multipart wi…
Browse files Browse the repository at this point in the history
…thout delimiter

Closes: quarkusio#24415
  • Loading branch information
geoand committed Mar 21, 2022
1 parent 81bd8d3 commit 2e92f0d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ public QuarkusMultipartResponseDecoder(QuarkusMultipartResponseDataFactory facto
}
}
} else {
multipartDataBoundary = null;
destroy();
throw new ErrorDataDecoderException("Unable to parse multipart response - No delimiter specified");
}
currentStatus = MultiPartStatus.HEADERDELIMITER;

Expand Down

0 comments on commit 2e92f0d

Please sign in to comment.