fix error forwarding
This commit is contained in:
		
							
								
								
									
										2
									
								
								bot.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								bot.py
									
									
									
									
									
								
							| @@ -87,7 +87,7 @@ class BotClient(discord.Client): | ||||
|             ["node", "calc_main.js", "--"] + args, stdout=sp.PIPE, stderr=sp.PIPE | ||||
|         ) | ||||
|         if proc.returncode != 0: | ||||
|             _log.error(f"running calculator: {proc.stderr}") | ||||
|             raise Exception(proc.stderr.decode()) | ||||
|         return proc.stdout.decode() | ||||
|  | ||||
|     def is_replay(self, message: discord.Message) -> bool: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user