Handle numbers in jsTest.log.info

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • DevProd Correctness
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      From matt.boros@mongodb.com :

      Currently jsTest.log.info and jsTestLog throw an assertion on number input. For object input they call tojson to convert it to a string. Is there any reason why they don't allow numbers? I run into this a decent amount, seems like an easy improvement we could make

            Assignee:
            Steve McClure
            Reporter:
            Steve McClure
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: