You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, not-implemented template methods of CommandOutput throw a raw IllegalStateException without further details. This can make debugging hard since the actual output type isn't shown in that context. It would be nicer to have messages such as: io.lettuce.core.output.StatusOutput does not support set(long).
Also, we should change IllegalStateException to UnsupportedOperationException to reflect the nature of the failure.
Ideally, we introduce better error messages with 6.0.2 and apply the exception type change with 6.1.
The text was updated successfully, but these errors were encountered:
Right now, not-implemented template methods of CommandOutput throw a raw
IllegalStateException
without further details. This can make debugging hard since the actual output type isn't shown in that context. It would be nicer to have messages such as:io.lettuce.core.output.StatusOutput does not support set(long)
.Also, we should change
IllegalStateException
toUnsupportedOperationException
to reflect the nature of the failure.Ideally, we introduce better error messages with 6.0.2 and apply the exception type change with 6.1.
The text was updated successfully, but these errors were encountered: