You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "TheNetherWatcher (via GitHub)" <gi...@apache.org> on 2026/10/03 08:01:06 UTC
Re: [I] Fix: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead [couchdb]
TheNetherWatcher commented on issue #6144:
URL: https://github.com/apache/couchdb/issues/6144#issuecomment-5966986922
Hi @nickva, I'd like to take this.
With OTP 29 I count at least 165 `catch ...` warnings across about 85 files, so I'd split the work. First PRs: cases where the result is ignored, rewritten as `try ... catch _:_ -> ok end`, one app per PR. Later PRs: cases where the result is used, since callers may match on `{'EXIT', ...}`.
Does that work for you?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org