Do you mean the JSON decoding is throwing an error and landing in this catch block?
} catch {
print("could not parse json data")
}
If so, you should print out the actual error that is being thrown. What does it say?
Topic:
App & System Services
SubTopic:
General
Tags: