Set app property in init_app
Return error value from webassets main