vdhamer / Photo-Club-Hub

iOS app for showcasing and viewing portfolios with curated fine-art photographic images.
MIT License
13 stars 1 forks source link

Improve error handling. #424

Closed vdhamer closed 3 months ago

vdhamer commented 3 months ago

Use try/catch instead of the function returning an (ugly) errorString.

 let errorString = mergeLevel2Json(bgContext: bgContext, // for database access on this thread
                                        jsonData: jsonData, // string to parse
                                        club: club, // club that this level2.json file should describe
                                        urlComponents: urlComponents) // used for logging messages
vdhamer commented 3 months ago

424 fixed by kodifyme