GlennRicaud/data-toolbox-app

Better error report logging

Opened this issue · 1 comments

On rare occations (probably due to some inconsistency in node repo) performing a search with data toolbox will produce an error "Cannot get property "_id" of null" in the UI.

In the log, the error looks like this:

(/lib/util.js) Error while querying nodes: Cannot get property "_id" of null

It would be very helpful if the log could contain the actual ID of the node it is trying to load.

I will update with more info 👍