Normally you would like to just send the request and nothing else, if you get a session (or not) it's a perfect indication if the exploit was successfull (or not)

Maybe still you want to check the response in the case of the user using the cmd/unix/generic payload, to get the command output, in this case, please check which the payload in use is, indeed, the cmd/unix/generic. So you can avoid unnecessary prints and or returning in case of sessions.