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?Not really, do you know which task is throwing?
It is my own code with bugs :)
Probably need to comment out things until you find the problem section
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
yeah, lets fix that if we can!
@jeroenvandijk The code that read BOOT_JVM_OPTIONS
from boot.properties was never merged: https://github.com/boot-clj/boot-bin/pull/17
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.
Either that, or build a boot
binary for yourself with the patch from that PR.
You could also try with bootstrap
- would be just as much work as compiling boot-bin, but would also help with v3 😉
bootstrap
can run v2.8* boot versions, though it’s not actually “supported” since it wont ship until boot also hits v3