Added server error handling for direct channels