Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when I raise an expection "DeserializationError",I find this error "TypeError: not enough arguments for format string" #2128

Closed
jinmenglei opened this issue Feb 7, 2021 · 0 comments

Comments

@jinmenglei
Copy link
Contributor

This is a format error using logerr and rospyerr

                     self.socket.close()
                    except:
                        pass
                    self.socket = None

                except DeserializationError as e:
                    #TODO: how should we handle reconnect in this case?
                    
                    logerr("[%s] error deserializing incoming request: %s"%self.name, str(e))
                    rospyerr("[%s] error deserializing incoming request: %s"%self.name, traceback.format_exc())
                except:
jacobperron pushed a commit that referenced this issue Apr 6, 2021
Fixes #2128

Fix bug "TypeError: not enough arguments for format string" in DeserializationError

Co-authored-by: 229143434@qq.com <zxcvbnm123-*@>
Co-authored-by: tomoya <Tomoya.Fujita@sony.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant