Incendo / cloud

Command framework & dispatcher for the JVM
https://cloud.incendo.org
MIT License
433 stars 54 forks source link

Exception handler is not properly handling ParserExceptions #725

Closed NonSwag closed 5 months ago

NonSwag commented 5 months ago

parser specific parse exceptions (in my case player/world parse exception from screenshot) are never handled but argument parse exception is handled instead providing the original exception as reason

ef62a6ee-d7e2-4e4c-9c8a-9e484e6c2216 image

Citymonstret commented 5 months ago

You will need to unwrap the argument parse exception. This is mentioned in the documentation: https://cloud.incendo.org/core/#exception-handling