Suppressing Known Error

import io
import sys
import chess.pgn
from erlastic import port_connection, Atom as atom
from introspect import eprint

def main():
    mailbox, port = port_connection()
    for line_bytecode in mailbox:
        raw_pgn = to_string(line_bytecode)[0]
        pgn = io.StringIO(raw_pgn)

        try:
            chess.pgn.read_game(pgn)
        except:
            port.send((atom("error"), atom("invalid_move_order")))
        else:
            port.send((atom("ok"), raw_pgn))
        finally:
            sys.exit()


if __name__ == '__main__':
    main()


error during pgn parsing 
Traceback (most recent call last): File "/home/maxximiliann/.local/lib/python3.8/site-packages/chess/pgn.py", line 1639, in read_game move = visitor.parse_san(board_stack[-1], token) 
File "/home/maxximiliann/.local/lib/python3.8/site-packages/chess/pgn.py", line 1020, in parse_san return board.parse_san(san) 
File "/home/maxximiliann/.local/lib/python3.8/site-packages/chess/__init__.py", line 2990, in parse_san raise ValueError(f"illegal san: {san!r} in {self.fen()}") 
ValueError: illegal san: 'Bd3' in rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1

What is the correct way of suppressing this error?