Added in an error catching log for assets