mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	#392: Show only debug message if script isn't splitable
This commit is contained in:
		| @@ -30,9 +30,9 @@ class Command(object): | |||||||
|         if not hasattr(self, '_script_parts'): |         if not hasattr(self, '_script_parts'): | ||||||
|             try: |             try: | ||||||
|                 self._script_parts = shells.split_command(self.script) |                 self._script_parts = shells.split_command(self.script) | ||||||
|             except Exception as e: |             except Exception: | ||||||
|                 logs.exception("Can't split command script {}".format(self), |                 logs.debug("Can't split command script {} because:\n {}".format( | ||||||
|                                sys.exc_info()) |                     self, sys.exc_info())) | ||||||
|                 self._script_parts = None |                 self._script_parts = None | ||||||
|         return self._script_parts |         return self._script_parts | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user