bug
This commit is contained in:
		
							parent
							
								
									bb4f202adc
								
							
						
					
					
						commit
						8c37c6ab75
					
				| @ -503,9 +503,9 @@ abstract class AbstractMessenger extends Parametrable implements IMessenger { | |||||||
|     if ($tech !== null) { |     if ($tech !== null) { | ||||||
|       if ($tech instanceof UserException) { |       if ($tech instanceof UserException) { | ||||||
|         $msg = $tech->getTechMessage(); |         $msg = $tech->getTechMessage(); | ||||||
|       } elseif (($tech instanceof Throwable || $tech instanceof ExceptionShadow) && !$printException) { |       } elseif ($tech instanceof Throwable || $tech instanceof ExceptionShadow) { | ||||||
|         $techSummary = true; |         $techSummary = true; | ||||||
|         $msg = UserException::get_summary($tech); |         $msg = $printException? UserException::get_summary($tech): null; | ||||||
|       } else { |       } else { | ||||||
|         $msg = $tech; |         $msg = $tech; | ||||||
|       } |       } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user