Skip to content

Commit

Permalink
[#1609] FailedSynchronizationException full stacktrace
Browse files Browse the repository at this point in the history
Closes #1609
  • Loading branch information
HonzaR committed Oct 21, 2024
1 parent 912117c commit 6411962
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ and this library adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `LightWalletClient` now implements `Closeable` and is thus correctly cleaned up in `SdkSynchronizer` and
`FastestServerFetcher` after it's used

### Fixed
- `FailedSynchronizationException` reported using `Synchronizer.onProcessorErrorHandler` now contains the full
stacktrace history

## [2.2.4] - 2024-09-16

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ sealed class CompactBlockProcessorException(message: String, cause: Throwable? =

class FailedSynchronizationException(message: String, cause: Throwable) : CompactBlockProcessorException(
"Common error while running the block synchronization. This is typically caused by a failed underlying " +
"synchronization operation. See failure description: $message OR the root cause: $cause"
"synchronization operation. See failure description: $message OR the root cause: $cause",
cause
)

class FailedDownloadException(cause: Throwable? = null) : CompactBlockProcessorException(
Expand Down

0 comments on commit 6411962

Please sign in to comment.