Printing an error message to help clarify issues in spawnConnection() in adapter