Skip to content
Snippets Groups Projects
Commit 7c49ce44 authored by Zara Mudassar's avatar Zara Mudassar
Browse files

Added try catch block

parent 352975ff
No related branches found
No related tags found
1 merge request!69Join open communities
Pipeline #178968 failed
......@@ -108,7 +108,11 @@ export default {
}
},
getIfUserInCommunity: async function(){
this.member = await GetIfUserAlreadyInCommunity(this.$router.currentRoute.value.params.communityID);
try{
this.member = await GetIfUserAlreadyInCommunity(this.$router.currentRoute.value.params.communityID);
} catch (error){
console.log(error);
}
}
},
beforeMount() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment