forked from GNUsocial/gnu-social
		
	FileNotFoundException is more proper here
This commit is contained in:
		@@ -146,7 +146,7 @@ class ImageFile
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!file_exists($imgPath)) {
 | 
					        if (!file_exists($imgPath)) {
 | 
				
			||||||
            throw new ServerException(sprintf('Image not available locally: %s', $imgPath));
 | 
					            throw new FileNotFoundException($imgPath);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user