Make a vendor.js error more verbose? {"line":68791,"column":125,"sourceURL":"http://localhost:8080/build/vendor.js"}

I’ve been trying to debug an issue with Badge for the past couple days, and have finally come across this error by putting a Badge method call in a try/catch block:

ERROR: {"line":68791,"column":125,"sourceURL":"http://localhost:8080/build/vendor.js"}
(This might be irrelevant, but that line in vendor.js corresponds to a function definition for Badge.)

The problem is that this error is super vague and I have no idea where to even begin debugging from here. Is there any way to make errors from vendor.js more verbose? This was run on an iPhone 8+ iOS 12.1.2, error was spit out in Xcode.

Thanks in advance!!

1 Like