Attempt to be a little more informative if session is not created
Based on a change in PR but will always set the value of
the error to "Session Not Created".
@@ -353,9 +353,7 @@ private void streamW3CProtocolParameters(
tempResponse = new Response(null);
tempResponse.setStatus(ErrorCodes.SESSION_NOT_CREATED);
tempResponse.setValue(jsonBlob);
- } else if (
- ossStatus instanceof Number &&
- ((Number) ossStatus).intValue() == ErrorCodes.SESSION_NOT_CREATED) {
+ } else if (ossStatus instanceof Number) {
tempResponse = new Response(null);
tempResponse.setStatus(ErrorCodes.SESSION_NOT_CREATED);
tempResponse.setValue(jsonBlob);
