cursive icon indicating copy to clipboard operation
cursive copied to clipboard

Datalevin datom doesn't support empty function

Open cursive-ghost opened this issue 1 year ago • 1 comments

Reported in Slack by @simongray here: https://clojurians.slack.com/archives/C0744GXCJ/p1727946413145859

I’m trying out Datalevin. Unfortunately, Cursive won’t let me view the exception I’m getting. Cursive seems to crawl the exception before outputting it, so I get a runtime exception caused by Cursive calling an unsupported method instead of the ex-info I would like, e.g.

Skærmbillede 2024-10-03 kl  11 06 10

cursive-ghost avatar Oct 17 '24 14:10 cursive-ghost

After some discussion in Slack, I've filed https://github.com/juji-io/datalevin/issues/286 which should fix this in Datalevin. In the meantime I'll catch errors when walking the exception and just return the raw data in case of an error.

cursive-ghost avatar Oct 17 '24 17:10 cursive-ghost

@simongray This has been fixed upstream in datalevin.

cursive-ghost avatar Nov 07 '24 07:11 cursive-ghost

@cursive-ide Thank you. Yes I noticed that too, just waiting for a new release of Datalevin now :)

simongray avatar Nov 07 '24 14:11 simongray

I'm going to close this, let me know if there's reason to reopen it.

cursive-ghost avatar Nov 08 '24 11:11 cursive-ghost

Fix released in 1.14.0-eap2 on 2024-11-08.

cursive-ghost avatar Nov 08 '24 11:11 cursive-ghost