This important monopoly was increasingly compromised following the discovery of the Cape of Good Hope by Portuguese explorer Bartolomeu Dias in 1488 , which had a considerable impact on the Ottoman economy .