Add missing asset load error logs for load_folder and load_untyped (#10578)
# Objective Fixes #10515 ## Solution Add missing error logs.
This commit is contained in:
		
							parent
							
								
									46b8e904f4
								
							
						
					
					
						commit
						c7f5cec8be
					
				| @ -349,7 +349,10 @@ impl AssetServer { | |||||||
|                         ) |                         ) | ||||||
|                         .into(), |                         .into(), | ||||||
|                     }), |                     }), | ||||||
|                     Err(_) => server.send_asset_event(InternalAssetEvent::Failed { id }), |                     Err(err) => { | ||||||
|  |                         error!("{err}"); | ||||||
|  |                         server.send_asset_event(InternalAssetEvent::Failed { id }); | ||||||
|  |                     } | ||||||
|                 } |                 } | ||||||
|             }) |             }) | ||||||
|             .detach(); |             .detach(); | ||||||
| @ -652,7 +655,10 @@ impl AssetServer { | |||||||
|                         ) |                         ) | ||||||
|                         .into(), |                         .into(), | ||||||
|                     }), |                     }), | ||||||
|                     Err(_) => server.send_asset_event(InternalAssetEvent::Failed { id }), |                     Err(err) => { | ||||||
|  |                         error!("Failed to load folder. {err}"); | ||||||
|  |                         server.send_asset_event(InternalAssetEvent::Failed { id }); | ||||||
|  |                     }, | ||||||
|                 } |                 } | ||||||
|             }) |             }) | ||||||
|             .detach(); |             .detach(); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Carter Anderson
						Carter Anderson