boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
2019-05-17T15:44:36.145900Z

I have this in my boot.properties:

# <https://github.com/boot-clj/boot/wiki/JVM-Options#dont-swallow-stacktraces>
BOOT_JVM_OPTIONS=-XX:-OmitStackTraceInFastThrow

But I still get this
Stack trace of root exception is empty; this is likely due to a JVM optimization that can be disabled with -XX:-OmitStackTraceInFastThrow.
Any idea?

flyboarder 2019-05-17T16:54:23.146700Z

Not really, do you know which task is throwing?

2019-05-19T08:26:28.151Z

It is my own code with bugs :)

flyboarder 2019-05-20T17:22:27.154900Z

Probably need to comment out things until you find the problem section

2019-05-20T17:44:02.155300Z

Thanks, but i know what the issue is. It is just always annoying if I don't have access to the exception. Takes extra time to figure out what the issue is

flyboarder 2019-05-20T18:08:30.155500Z

yeah, lets fix that if we can!

alexyakushev 2019-05-17T19:19:16.147300Z

@jeroenvandijk The code that read BOOT_JVM_OPTIONS from boot.properties was never merged: https://github.com/boot-clj/boot-bin/pull/17

👍 1
alexyakushev 2019-05-17T19:20:19.148500Z

So, while the docs say that you can set BOOT_JVM_OPTIONS from the properties file, you actually can't, and have to provide it through the env variable.

alexyakushev 2019-05-17T19:20:45.149100Z

Either that, or build a boot binary for yourself with the patch from that PR.

flyboarder 2019-05-17T23:45:35.149900Z

You could also try with bootstrap - would be just as much work as compiling boot-bin, but would also help with v3 😉

flyboarder 2019-05-17T23:46:38.150900Z

bootstrap can run v2.8* boot versions, though it’s not actually “supported” since it wont ship until boot also hits v3