catch error
https safe assets