Update Node.js transaction examples

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Native
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, we have transactions docs examples have indexOf < 0

      if ( error.errorLabels && error.errorLabels.indexOf('TransientTransactionError') < 0 )
      
      if ( error.errorLabels && error.errorLabels.indexOf('UnknownTransactionCommitResult') < 0 ) 
      

      Should be >= 0

            Assignee:
            Daniel Aprahamian (Inactive)
            Reporter:
            Kay Kim (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: