Fix uncaught call to a promise
This commit is contained in:
		
							parent
							
								
									1cde2f6915
								
							
						
					
					
						commit
						e65ca2d88f
					
				| @ -165,6 +165,9 @@ const functions = { | ||||
| 						reject("The leaderboardMessageId is undefined somehow"); | ||||
| 						return; | ||||
| 					} | ||||
| 				}).catch(err => { | ||||
| 					reject(err); | ||||
| 					return; | ||||
| 				}); | ||||
| 			}); | ||||
| 			 | ||||
| @ -209,6 +212,7 @@ const functions = { | ||||
| 					}); | ||||
| 				}).catch(err => { | ||||
| 					reject(err); | ||||
| 					return; | ||||
| 				}); | ||||
| 			}); | ||||
| 		} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user