Skip to content

Commit

Permalink
Add a hack for debugging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaKattainen committed Sep 24, 2020
1 parent 4c899b4 commit 385e9fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ async function getMemberData(groupMembers) {
})
).catch(error => {
console.log('Failed to get member data: ', error)
return error
})
}

Expand Down Expand Up @@ -67,6 +68,7 @@ async function getAllGroups(userNumber) {
})
).catch(error => {
console.log('Failed to get groupAndMemberData: ', error)
return error
})

return groupAndMemberData
Expand All @@ -79,5 +81,6 @@ export async function getGroups(userNumber) {
return filteredGroups || []
} catch (error) {
console.log('Get groups failed with error: ', error)
return error
}
}

0 comments on commit 385e9fe

Please sign in to comment.