add error handling while loading an extension