Skip to content

ignore repl broken pipe errors #217

Description

@fidgetingbits

as discussed on slack when piping in commands to the repl the talon log will end up being littered with:

2021-01-21 10:33:21 ERROR error writing to repl
   11:    lib/python3.9/threading.py:912* # repl client thread
   10:    lib/python3.9/threading.py:954*
    9:    lib/python3.9/threading.py:892*
    8: lib/python3.9/socketserver.py:650*
    7: lib/python3.9/socketserver.py:360*
    6: lib/python3.9/socketserver.py:720*
    5:      talon_plugins/00_repl.py:234| shell.interact()
    4:      talon_plugins/00_repl.py:176| self.send('exit')
    3: ---------------------------------# repl client thread
    2:      talon_plugins/00_repl.py:159| self.writer.flush()
    1:       lib/python3.9/socket.py:722|
BrokenPipeError: [Errno 32] Broken pipe

it would be nice if this exception was ignored, since some people purposefully use keyboard shortcuts to quickly mute or on mute talon during presentations, meetings, etc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions