More specific debug output when ET converts to string

Made error more specific to the function and item being queried