Changed debug message to not include message ID as the variable is not a string