General SDK: Always getting control treatments


1 comment

  • edward.burt

    I have also found that 'control' is returned when you request a split by a name that has no treatments - for example you have a staging and prod environment and haven't defined the treatments it in the prod environment.

    Easily coded for as shown above, more likely to be an issue with multiple treatments where a switch statement is used but as long as a safe default is used, all is well.

    Comment actions Permalink

Please sign in to leave a comment.