diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..aec207e4
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,7 @@
+version: 2
+updates:
+- package-ecosystem: nuget
+ directory: "/"
+ schedule:
+ interval: daily
+ open-pull-requests-limit: 10
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 8869ac98..74c1928a 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -1,2 +1,6 @@
+### 0.10.2 June 30 2021 ####
+* [Update Akka version to 1.4.21](https://github.com/akkadotnet/akka.net/releases/tag/1.4.21)
+* [Add exception rethrow to help with debugging](https://github.com/akkadotnet/Hyperion/pull/229)
+
### 0.10.1 April 20 2021 ####
* [Fix SerializerOptions constructor backward compatibility issue with Akka.NET](https://github.com/akkadotnet/Hyperion/pull/214)
diff --git a/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj b/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj
index f81dcacc..260d64dd 100644
--- a/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj
+++ b/src/Hyperion.API.Tests/Hyperion.API.Tests.csproj
@@ -8,7 +8,7 @@
-
+
@@ -16,7 +16,7 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
diff --git a/src/Hyperion.Akka.Integration.Tests/Hyperion.Akka.Integration.Tests.csproj b/src/Hyperion.Akka.Integration.Tests/Hyperion.Akka.Integration.Tests.csproj
index fc68d56d..6528c020 100644
--- a/src/Hyperion.Akka.Integration.Tests/Hyperion.Akka.Integration.Tests.csproj
+++ b/src/Hyperion.Akka.Integration.Tests/Hyperion.Akka.Integration.Tests.csproj
@@ -18,7 +18,7 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
diff --git a/src/Hyperion.Benchmarks/Hyperion.Benchmarks.csproj b/src/Hyperion.Benchmarks/Hyperion.Benchmarks.csproj
index 4a4c8977..d95e2c60 100644
--- a/src/Hyperion.Benchmarks/Hyperion.Benchmarks.csproj
+++ b/src/Hyperion.Benchmarks/Hyperion.Benchmarks.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/src/Hyperion.Tests.FSharpData/Hyperion.Tests.FSharpData.fsproj b/src/Hyperion.Tests.FSharpData/Hyperion.Tests.FSharpData.fsproj
index ade9902c..51916107 100644
--- a/src/Hyperion.Tests.FSharpData/Hyperion.Tests.FSharpData.fsproj
+++ b/src/Hyperion.Tests.FSharpData/Hyperion.Tests.FSharpData.fsproj
@@ -9,7 +9,7 @@
-
+
diff --git a/src/Hyperion/Hyperion.csproj b/src/Hyperion/Hyperion.csproj
index 7dccf116..803258d0 100644
--- a/src/Hyperion/Hyperion.csproj
+++ b/src/Hyperion/Hyperion.csproj
@@ -32,6 +32,10 @@
+
+
+
+
$(DefineConstants);NETSTANDARD16
diff --git a/src/Hyperion/ValueSerializers/ObjectSerializer.cs b/src/Hyperion/ValueSerializers/ObjectSerializer.cs
index fe53fbfc..6d936bd7 100644
--- a/src/Hyperion/ValueSerializers/ObjectSerializer.cs
+++ b/src/Hyperion/ValueSerializers/ObjectSerializer.cs
@@ -10,6 +10,7 @@
using System;
using System.IO;
using System.Linq;
+using System.Runtime.Serialization;
using System.Threading;
using Hyperion.Extensions;
@@ -103,7 +104,18 @@ public override void WriteManifest(Stream stream, SerializerSession session)
public override void WriteValue(Stream stream, object value, SerializerSession session)
=> _writer(stream, value, session);
- public override object ReadValue(Stream stream, DeserializerSession session) => _reader(stream, session);
+ public override object ReadValue(Stream stream, DeserializerSession session)
+ {
+ try
+ {
+ return _reader(stream, session);
+ }
+ catch (Exception e)
+ {
+ throw new SerializationException(
+ $"Failed to deserialize object of type [{Type}] from the stream. Cause: {e.Message}", e);
+ }
+ }
public override Type GetElementType() => Type;
diff --git a/src/common.props b/src/common.props
index dc709784..9637364f 100644
--- a/src/common.props
+++ b/src/common.props
@@ -18,12 +18,12 @@
$(NoWarn);CS1591
- 1.4.18
+ 1.4.21
5.10.3
2.4.1
2.4.3
- 16.9.4
+ 16.10.0
1.2.2
\ No newline at end of file