bartek Hello!
Yes, here is the FederationServer code + my workaround with ajax jquery.get!
It's been a few days since that issue now but as far as I remember, when the domain lookup fails with StellarSdk.FederationServer, it's not rejected and so the catch function is not called.
$.get('https://'+destination.split('*')[1]+'/.well-known/stellar.toml')
.then(function() {
	StellarSdk.FederationServer.resolve(destination)
	 .then(federationRecord => {
			resolve(federationRecord);
	 })
	 .catch(function(error) {
	 		reject(error.detail);
	 });
})
.catch(function() {
	reject(getTextFor('domainNotFound'));
});