mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Tweak some logging.
This commit is contained in:
@ -453,6 +453,8 @@ cmdq_error(struct cmdq_item *item, const char *fmt, ...)
|
||||
msglen = xvasprintf(&msg, fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
log_debug("%s: %s", __func__, msg);
|
||||
|
||||
if (c == NULL)
|
||||
cfg_add_cause("%s:%u: %s", cmd->file, cmd->line, msg);
|
||||
else if (c->session == NULL || (c->flags & CLIENT_CONTROL)) {
|
||||
|
Reference in New Issue
Block a user