change ex-info format and fix BoundStatement error when it throws