softwareCobbler / luceedebug

line debugger for lucee
GNU Lesser General Public License v2.1
44 stars 15 forks source link

Avoid throw when session management is not enabled #39

Closed Symbianx closed 1 year ago

Symbianx commented 1 year ago

Avoids exceptions as described in #35 by using the isSetSessionManagement method documented in the [lucee javadocs](https://javadoc.lucee.org/lucee/runtime/listener/ApplicationContext.html#isSetSessionManagement()).

I was not able to test wether this works when session management is enabled since we have it explicitely disabled.

softwareCobbler commented 1 year ago

lgtm