Skip to content

Commit

Permalink
Alire.Index_On_Disk: improve error message (#1579)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien-Chouteau authored Feb 23, 2024
1 parent 13b8324 commit 1439890
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/alire/alire-index_on_disk.adb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ package body Alire.Index_On_Disk is
return Outcome_Success;
exception
when E : others =>
return Outcome_From_Exception (E, "Could not delete index directory");
return Outcome_From_Exception
(E, "Could not delete index directory: " & This.Metadata_Directory);
end Delete;

----------
Expand Down

0 comments on commit 1439890

Please sign in to comment.