This adds a missing catch for BaseException (e.g. SystemExit), which would otherwise be silently ignored. Also, remove the redundant other catches, which are just calling log.exception with a redundant log message.
signrawtransactionwithkey
.sha256
.txid_int
.getwtxid()
wtxid_hex
.rehash()
.calc_sha256()