copyAssets() now throw exceptions.