Passing in an array of arrays to .query crashes app


#1

Accidentally had a variable sent to .query that was an array of arrays, and it kept crashing the app.

Here’s the simplest repro:

 Draft.query("","all",[[]])

#2

Yea, I got another report of that…and, joy, it’s a C-level crash in JavaScriptCore that happens before the code is bridged. I’ll have to report to Apple. It should throw an exception that I can can handle at the app level, but it’s blowing up instead. Not sure I can workaround easily, but maybe.


#3

Don’t need a workaround / no rush at all. Thanks!