Skip to content

Commit

Permalink
Improve logging for unrecoverable error
Browse files Browse the repository at this point in the history
  • Loading branch information
DSPaul committed Nov 23, 2024
1 parent d838304 commit 7e79331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ViewModels/CollectionViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private void LoadInitialCollection()
else
{
//If no collections are found and creation fails, we are stuck in an infinite loop which is bad so throw and crash
throw new IOException("Could not create the default collection");
throw new IOException($"Could not create the default collection at {Path.Combine(CodexCollection.CollectionsPath, name)}");
}
}

Expand Down

0 comments on commit 7e79331

Please sign in to comment.