diff --git a/src/Hyperion/Extensions/TypeEx.cs b/src/Hyperion/Extensions/TypeEx.cs index 491b4851..59a7105e 100644 --- a/src/Hyperion/Extensions/TypeEx.cs +++ b/src/Hyperion/Extensions/TypeEx.cs @@ -210,7 +210,7 @@ public static Type LoadTypeByName(string name, bool disallowUnsafeTypes) "Unsafe Type Deserialization Detected!", name); return type; } - catch (FileLoadException) + catch (IOException) { var typename = ToQualifiedAssemblyName(name, ignoreAssemblyVersion: true); var type = Type.GetType(typename, true);