diff options
author | James McCoy <jamessan@jamessan.com> | 2021-03-28 12:59:03 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2021-04-08 08:13:39 -0400 |
commit | ce9b5848f9b5cec55997844ec54e8d4179391452 (patch) | |
tree | a1f81d365d5592cd065febdc31d6b996406ea126 /src/nvim/os/pty_process_win.c | |
parent | 8caf8413080425f8ce53c5bacd232ed66a09fe55 (diff) | |
download | rneovim-ce9b5848f9b5cec55997844ec54e8d4179391452.tar.gz rneovim-ce9b5848f9b5cec55997844ec54e8d4179391452.tar.bz2 rneovim-ce9b5848f9b5cec55997844ec54e8d4179391452.zip |
Add more info to debug messages
[skip ci]
Diffstat (limited to 'src/nvim/os/pty_process_win.c')
-rw-r--r-- | src/nvim/os/pty_process_win.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/os/pty_process_win.c b/src/nvim/os/pty_process_win.c index 94444e4d23..2bf73d08e6 100644 --- a/src/nvim/os/pty_process_win.c +++ b/src/nvim/os/pty_process_win.c @@ -203,11 +203,13 @@ int pty_process_spawn(PtyProcess *ptyproc) cleanup: if (status) { // In the case of an error of MultiByteToWideChar or CreateProcessW. - ELOG("pty_process_spawn: %s: error code: %d", emsg, status); + ELOG("pty_process_spawn(%s): %s: error code: %d", + proc->argv[0], emsg, status); status = os_translate_sys_error(status); } else if (err != NULL) { status = (int)winpty_error_code(err); - ELOG("pty_process_spawn: %s: error code: %d", emsg, status); + ELOG("pty_process_spawn(%s): %s: error code: %d", + proc->argv[0], emsg, status); status = translate_winpty_error(status); } winpty_error_free(err); |