Skip to content

Commit

Permalink
Log project code after looking it up
Browse files Browse the repository at this point in the history
  • Loading branch information
rmunn committed Oct 28, 2024
1 parent 2b4d564 commit db99b63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/CrdtMerge/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
logger.LogError("Project ID {projectId} not found", projectId);
return TypedResults.NotFound();
}
logger.LogInformation("Project code is {projectCode}", projectCode);

var projectFolder = Path.Join(config.Value.ProjectStorageRoot, $"{projectCode}-{projectId}");
if (!Directory.Exists(projectFolder)) Directory.CreateDirectory(projectFolder);
Expand Down

0 comments on commit db99b63

Please sign in to comment.