assetgen: handle errors from AbsurdJS.