Skip to content

Commit

Permalink
append a null to the urlFragment in catch case
Browse files Browse the repository at this point in the history
append a null to the urlFragment in catch case
  • Loading branch information
cacheung committed Jul 20, 2023
1 parent 93a6ce8 commit f953db9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ static String generateURLVariablesPayload(final String ts, final String ecid, fi
urlFragment.append(URLEncoder.encode(theIdString, Charset.forName("UTF-8").name()));
}
} catch (UnsupportedEncodingException | IllegalArgumentException e) {
urlFragment.append("null");
Log.debug(LOG_TAG, LOG_SOURCE, String.format("Failed to encode urlVariable string: %s", e));
}
return urlFragment.toString();
Expand Down

0 comments on commit f953db9

Please sign in to comment.