fix for handling errors in nlnog ring API.