Added extra error handling when processing URL for loading custom fonts.