多个asynchronous/等待try-catch块

我在这里,因为我有麻烦debugging我的应用程序。 这是非常烦人的,不明白为什么我的应用程序崩溃。 我使用承诺(随着/ catch块),但我得到使用asynchronous/等待的必要性。

我有一个方法,我做多个等待它。 这里的问题是,如果我的应用程序崩溃,因为任何原因,我永远不知道它是什么问题。 我已经描述过这样的块:

static async processCSGOGroupsAndUsers (groupName) { try{ const csgoApiData = await csgoApi(groupName); const parsedData = await xmltojson(csgoApiData); const id = parsedData.memberList.groupID64; //const members = await retrieveMembers(groupName, parsedData.memberList.memberCount); const totalUsers = await UsersService.processCSGOUsers(id, parsedData); const csgoGroup = { name: parsedData.memberList.groupDetails.groupName, siteUrl: parsedData.memberList.groupDetails.groupURL, id, totalUsers }; await GroupsDao.save(csgoGroup); }catch (err){ return err; } } static async processCSGOUsers (groupId, parsedData) { try{ let steamIdsArr = []; const usersSteamIdsObj = parsedData.memberList.members.steamID64; Object.keys(usersSteamIdsObj).forEach(key => { //if (steamIdsArr.length < 2) // TODO csGOBackPackAPI don't let me do more than 50 request per hour steamIdsArr.push({ steam_group_id_64: groupId, steam_id_64: usersSteamIdsObj[key] }); }); //const filteredUsers = await UserService.filterUsersByInventoryValue(steamIdsArr); UsersDao.saveUsers(steamIdsArr); } catch(err){ console.log(err); return err; } } static processCSGOGroups(req, res){ GroupService .processCSGOGroupsAndUsers(req.body.group) .then( () => res.status(200).end()) .catch( error => res.status(400).send(error)); } 

有没有比我的更好的方法?