Exception message added to getContacts method