From e3869b26c3241b71cc29102cf75bf8905507a50d Mon Sep 17 00:00:00 2001 From: Railz Date: Sat, 20 Apr 2019 10:29:52 +0200 Subject: [PATCH] removed inner Exception --- Database-Attribute_System/Attributes/DbObject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database-Attribute_System/Attributes/DbObject.cs b/Database-Attribute_System/Attributes/DbObject.cs index 3c7807e..1cb1133 100644 --- a/Database-Attribute_System/Attributes/DbObject.cs +++ b/Database-Attribute_System/Attributes/DbObject.cs @@ -71,7 +71,7 @@ namespace eu.railduction.netcore.dll.Database_Attribute_System.Attributes } catch(InvalidOperationException ex) { - throw new InvalidOperationException($"Cannot init foreignObject-field '{fi.Name}' of '{classType.Name}'. {ex.Message}", ex); + throw new InvalidOperationException($"Cannot init foreignObject-field '{fi.Name}' of '{classType.Name}'. {ex.Message}"); } } }