Be more verbose when the Asset Path is outside of the root.
This commit is contained in:
		
							parent
							
								
									44601cf5ff
								
							
						
					
					
						commit
						a3372284e9
					
				| @ -156,7 +156,7 @@ public class AssetKey<T> implements Savable, Cloneable { | |||||||
|                     list.removeLast(); |                     list.removeLast(); | ||||||
|                 } else { |                 } else { | ||||||
|                     list.add(".."); |                     list.add(".."); | ||||||
|                     Logger.getLogger(AssetKey.class.getName()).log(Level.SEVERE, "Asset path is outside assetmanager root"); |                     Logger.getLogger(AssetKey.class.getName()).log(Level.SEVERE, "Asset path \"{0}\" is outside assetmanager root", path); | ||||||
|                 } |                 } | ||||||
|             } else { |             } else { | ||||||
|                 list.add(string); |                 list.add(string); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user