I see nothing grammatically wrong but as I don't know what we are dealing with, I'm not sure return is the best verb here. Return means that "it" - whatever it is - will bring back a message. Perhaps It will display a message would be better?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.