Skip to content

Commit 7f386cc

Browse files
Merge pull request #926 from microsoftgraph/CommunityContribution/LogError-Fix
Community contribution/log error fix
2 parents 2b7b0dc + a892340 commit 7f386cc

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
## [2.0.19] - 2023-06-20
13+
14+
### Changed
15+
16+
- Remove explicit logging of GraphServiceException in the CoreHttpProvider class. [#885](https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/885)
17+
- Thank you to @MaHa6543 for the contribution.
18+
1219
## [2.0.18] - 2023-04-06
1320

1421
### Changed

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph-core
2828
mavenMajorVersion = 2
2929
mavenMinorVersion = 3
30-
mavenPatchVersion = 1
30+
mavenPatchVersion = 2
3131
mavenArtifactSuffix =
3232

3333
#These values are used to run functional tests

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mavenGroupId = com.microsoft.graph
2525
mavenArtifactId = microsoft-graph-core
2626
mavenMajorVersion = 2
2727
mavenMinorVersion = 0
28-
mavenPatchVersion = 18
28+
mavenPatchVersion = 19
2929
mavenArtifactSuffix =
3030

3131
#These values are used to run functional tests

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repositories {
2222
2323
dependencies {
2424
// Include the sdk as a dependency
25-
implementation 'com.microsoft.graph:microsoft-graph-core:2.0.16'
25+
implementation 'com.microsoft.graph:microsoft-graph-core:2.0.19'
2626
// This dependency is only needed if you are using the TokenCredentialAuthProvider
2727
implementation 'com.azure:azure-identity:1.7.2'
2828
}

src/main/java/com/microsoft/graph/http/CoreHttpProvider.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,12 +488,10 @@ private <Result, Body, DeserializeType> Result processResponse(final Response re
488488
}
489489
}
490490
} catch (final GraphServiceException ex) {
491-
logger.logError("Graph service exception", ex);
492491
throw ex;
493492
} catch (final Exception ex) {
494493
final ClientException clientException = new ClientException("Error during http request",
495494
ex);
496-
logger.logError("Error during http request", clientException);
497495
throw clientException;
498496
}
499497
}

src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class TelemetryHandler implements Interceptor{
2424
/**
2525
* Current SDK version
2626
*/
27-
public static final String VERSION = "v2.0.16";
27+
public static final String VERSION = "v2.0.19";
2828
/**
2929
* Version prefix
3030
*/

0 commit comments

Comments
 (0)