In FHSyncDataset.m, and specifically the startSyncTask: method, we get a null response when there is an SSL Handshake error. Trying to pass a JSONString of the null response into FHSyncUtils.m results in the app crashing. This PR checks for a null response, and provides a message for FHSyncUtils.m to use.
In
FHSyncDataset.m
, and specifically thestartSyncTask:
method, we get a null response when there is an SSL Handshake error. Trying to pass a JSONString of the null response intoFHSyncUtils.m
results in the app crashing. This PR checks for a null response, and provides a message forFHSyncUtils.m
to use.Log example: https://gist.github.com/antiguab/4192fe949878c605e69d