Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2417

Debugging map reduce jobs "db assertion failure"

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Map reduce works great and is an awesome feature. I've noticed however when writing them the only error message I seem to get is:

      failed with error "db assertion failure"

      But it doesn't show the line number or error in the js. This can make it a bit tough to debug the javascript - I usually just end of deleting things (guess and check) until it works, which works. But was just curious if there was a better way to see the errors in the javascript while debugging. Thanks!

            Assignee:
            Unassigned Unassigned
            Reporter:
            barmstrong Brian Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: