Handle errors in loading external css