summaryrefslogtreecommitdiff
path: root/src/plugins/logger
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/logger')
-rw-r--r--src/plugins/logger/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c
index 06e0ff4ca..ac0752b82 100644
--- a/src/plugins/logger/logger.c
+++ b/src/plugins/logger/logger.c
@@ -561,9 +561,9 @@ logger_write_line (struct t_logger_buffer *logger_buffer,
{
weechat_printf_tags (NULL,
"no_log",
- _("%s%s: unable to write log file \"%s\""),
+ _("%s%s: unable to write log file \"%s\": %s"),
weechat_prefix ("error"), LOGGER_PLUGIN_NAME,
- logger_buffer->log_filename);
+ logger_buffer->log_filename, strerror(errno));
logger_buffer_free (logger_buffer);
return;
}