Skip to content

Commit

Permalink
Version fixed (#127)
Browse files Browse the repository at this point in the history
* Error handling

* Version fixed

---------

Co-authored-by: Robert Brands (RiwaAdmin) <[email protected]>
  • Loading branch information
rbrands and Robert Brands (RiwaAdmin) authored Sep 15, 2023
1 parent 1dc0e29 commit 2b102cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions MeetUpFunctions/ChallengeRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public async Task<StravaSegmentChallenge> GetChallengeByTitle(string challengeTi
}
catch (Exception ex)
{
_logger.LogError(ex.Message);
_logger.LogError(ex, "GetChallengeByTitle failed.");
throw;
}
Expand Down
1 change: 1 addition & 0 deletions MeetUpFunctions/GetChallengeByTitle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public async Task<IActionResult> Run(
}
catch (Exception ex)
{
_logger.LogError("Error " + ex.Message);
_logger.LogError(ex, $"GetChallenge(challengeTitle = {challengeTitle}) failed.");
return new BadRequestErrorMessageResult(ex.Message);
}
Expand Down
2 changes: 1 addition & 1 deletion MeetUpPlanner/Shared/MeetUpPlanner.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Text.Json" Version="7.0.3" />
<PackageReference Include="System.Text.Json" Version="6.0.8" />
</ItemGroup>

</Project>

0 comments on commit 2b102cb

Please sign in to comment.