Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28713

Path separators in JS backtraces are inconsistent on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial - P5
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Shell
    • Operating System:
      ALL

      Description

      For example, compiled-in frames use a forward slash, while frames in interpreted code use a backslash, which just looks weird:

      2017-02-15T23:11:55.501+0000 E QUERY    [thread1] Error: assert failed :
      doassert@src/mongo/shell/assert.js:18:14
      assert@src/mongo/shell/assert.js:35:5
      statComp@jstests\sharding\stats.js:86:9
      dbStatComp@jstests\sharding\stats.js:92:9
      @jstests\sharding\stats.js:115:9
      @jstests\sharding\stats.js:1:2
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: