Skip to content

Commit f459b91

Browse files
author
vivetiwa
committed
1. ContentHandler don't fail on intermittent failure
2. Bump up gradle release version
1 parent 8b99756 commit f459b91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
##
1212

1313
group=com.adobe.platform.streaming
14-
versionMain=0.0.3
14+
versionMain=0.0.5
1515
versionQualifier=
1616

1717
param_artifactory_user=

streaming-connect-common/src/main/java/com/adobe/platform/streaming/http/ContentHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public JSONObject getContent(HttpConnection conn) throws HttpException {
3535
try (InputStream in = conn.getInputStream()) {
3636
return new JSONObject(HttpUtil.streamToString(in));
3737
} catch (IOException e) {
38-
throw new HttpException("Error parsing content", e);
38+
throw new HttpException("Error parsing content", e, 405);
3939
}
4040
}
4141
};

0 commit comments

Comments
 (0)