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
I cannot catch TopologyException because of this , and also cannot handle log about this.
plz throw exception to us Or just printStackTrace so that we can handle Exception, and it's log
The text was updated successfully, but these errors were encountered:
I think that, using slf4j in library codes means forcing programmer to log this error message, even if they dont want that.
but printStackTrace don't. printStackTrace just show error code in programmer's console, but doesn't write logs on logging file or server console. so programmer can choose one between logging this message on file or not
Of courese, I agree with that custom handling or throwing error to programmer is best.
but this way of modification will break backward compatibility also.
I cannot catch TopologyException because of this , and also cannot handle log about this.
plz
throw exception to us
Orjust printStackTrace
so that we can handle Exception, and it's logThe text was updated successfully, but these errors were encountered: