Skip to content

Instantly share code, notes, and snippets.

@gahr
Created February 25, 2025 15:13
Show Gist options
  • Select an option

  • Save gahr/a2d1703a601ed0d138615ad69d455b66 to your computer and use it in GitHub Desktop.

Select an option

Save gahr/a2d1703a601ed0d138615ad69d455b66 to your computer and use it in GitHub Desktop.
diff --git a/commands.c b/commands.c
index 8eda1b336..ef553ba51 100644
--- a/commands.c
+++ b/commands.c
@@ -1103,7 +1103,7 @@ static enum CommandResult parse_source(struct Buffer *buf, struct Buffer *s,
if (source_rc(buf_string(path), err) < 0)
{
- buf_printf(err, _("source: file %s could not be sourced"), buf_string(path));
+ buf_printf(err, _("source: file %s could not be sourced: %s"), buf_string(path), buf_string(err));
buf_pool_release(&path);
return MUTT_CMD_ERROR;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment