mirror of https://github.com/skygpu/skynet.git
				
				
				
			change send function on failure (not sure if this fixed it)
							parent
							
								
									53ed74e9a3
								
							
						
					
					
						commit
						58c6a2070e
					
				| 
						 | 
				
			
			@ -168,7 +168,7 @@ class SkynetDiscordFrontend:
 | 
			
		|||
 | 
			
		||||
        if 'code' in res or 'statusCode' in res:
 | 
			
		||||
            logging.error(json.dumps(res, indent=4))
 | 
			
		||||
            await self.bot.send(
 | 
			
		||||
            await self.bot.channel.send(
 | 
			
		||||
                status_msg,
 | 
			
		||||
                'skynet has suffered an internal error trying to fill this request')
 | 
			
		||||
            return
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue