Skip to content

Commit

Permalink
Update Download exception to Warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Nov 30, 2023
1 parent 834cb93 commit 179db35
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Update to `HttpClient`.
- Update `RevitTestConsole` to use `HttpClient`.
- Update `Log` to show download fail and the `ProductVersion`.
- Update `Download` exception to Warning.
### Warning
- Ignore `Newtonsoft.Json` warning in `Application` project.

Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>1.2.1-beta.4</Version>
<Version>1.2.1-beta.5</Version>
</PropertyGroup>
</Project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion ricaun.RevitTest.TestAdapter/Services/ApplicationUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static bool Download(string address, out string temporaryDirectory)
temporaryDirectory = CreateTemporaryDirectory();
return Download(temporaryDirectory, address, (ex) =>
{
AdapterLogger.Logger.DebugOnlyLocal($"Download Exception: {ex.Message}");
AdapterLogger.Logger.Warning($"Download {ex.GetType().Name}: {ex.Message}");
});
}

Expand Down

0 comments on commit 179db35

Please sign in to comment.