ADDED: Extra logging for server failures