mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 15:08:13 +02:00
Show full traceback for failures to fork socket child
This commit is contained in:
@@ -707,10 +707,12 @@ def main(stdin_fd: int, stdout_fd: int, notify_child_death_fd: int, unix_socket:
|
||||
except SocketClosed:
|
||||
if is_zygote:
|
||||
remove_socket_child(scq)
|
||||
except OSError as e:
|
||||
except OSError:
|
||||
if is_zygote:
|
||||
remove_socket_child(scq)
|
||||
print_error(f'Failed to fork socket child with error: {e}')
|
||||
import traceback
|
||||
tb = traceback.format_exc()
|
||||
print_error(f'Failed to fork socket child with error: {tb}')
|
||||
else:
|
||||
raise
|
||||
if is_zygote and (event & error_events):
|
||||
|
||||
Reference in New Issue
Block a user