Switch to `try ... catch ... end` for OTP 29 Switch to `try ... catch ... end` to eliminate `catch` related deprecation warnings in OTP 29. Related issue: https://github.com/apache/couchdb/issues/6144