Better error messages when loading assets