mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-13 20:17:07 +00:00
Fix for user code errors during load not being reported (Cappuccino failing silently).
Reviewed by me.
This commit is contained in:
1 parent
7b855e6c68
commit
321706e5c6
1 file changed
+2
-1
@@ -437,12 +437,13 @@ function loadSpritedImagesForBundle(/*Bundle*/ aBundle, success, failure)
|
||||
CFTotalBytesLoaded += anEvent.request.responseText().length;
|
||||
decompileStaticFile(aBundle, anEvent.request.responseText(), spritedImagesURL);
|
||||
aBundle._loadStatus &= ~CFBundleLoadingSpritedImages;
|
||||
success();
|
||||
}
|
||||
catch(anException)
|
||||
{
|
||||
failure(anException);
|
||||
}
|
||||
|
||||
success();
|
||||
}, failure);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user