Improving Lucee exception messages is a great way ...
# lucee
z
Improving Lucee exception messages is a great way to get involved in open source, if you ever see something which could be improved, just fire off a PR, it's really easy to do, just • do a search on github https://github.com/lucee/Lucee/search?q=a+timeout+occurred • open a result, switch the to 6.0 branch, i.e. https://github.com/lucee/Lucee/blob/6.0/loader/src/main/java/lucee/runtime/lock/LockTimeoutException.java • click the edit icon https://github.com/lucee/Lucee/blob/6.0/loader/src/main/java/lucee/runtime/lock/LockTimeoutException.java which opens the web based editor https://github.com/lucee/Lucee/edit/6.0/loader/src/main/java/lucee/runtime/lock/LockTimeoutException.java • make your changes and file off a pull request the exception formatting house rules in Lucee is that all variables should be wrapped in
[brackets]
this enables our grouping up in Sentry of related errors and when there is a list of options, there should be a space between options i.e.
[application, session]
not
[application,session]
First word in an exceptions should also be Capitalized (edited)
FYI I've already fixed the lock exceptions in 5.3 https://github.com/lucee/Lucee/commit/914dd03e9009f7b6006d7859158c5730cbe7bd3f but generally speaking all new PRs should be against 6.0 please