(self, direction, title, body='', show_body=False)
| 112 | text.indent(self.pretty(n['error'])[1], 4)) |
| 113 | |
| 114 | def say_chat(self, direction, title, body='', show_body=False): |
| 115 | if direction == '<-' and self.quiet: |
| 116 | return |
| 117 | dirstr = not self.quiet and f'{self.style(direction, fg="white", bold=True)} ' or '' |
| 118 | self.echo(f'{dirstr} {title}') |
| 119 | if body and show_body: |
| 120 | self.echo(body) |
| 121 | |
| 122 | |
| 123 | def handle_remote_command_error(command: str, exc: Exception) -> None: |
no test coverage detected