Unwrap the correct exception
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
		
							parent
							
								
									0f669e8ca3
								
							
						
					
					
						commit
						c1ba1f409c
					
				@ -66,7 +66,7 @@ public enum ExceptionLoggers implements BiConsumer<Object, Throwable> {
 | 
			
		||||
                    message = null;
 | 
			
		||||
            }
 | 
			
		||||
        } else {
 | 
			
		||||
            message = throwable.getMessage();
 | 
			
		||||
            message = innerThrowable.getMessage();
 | 
			
		||||
        }
 | 
			
		||||
        return message != null ? message : innerThrowable.getClass().getSimpleName();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user