Przeglądaj źródła

* Merging revisions 43993 from trunk:
------------------------------------------------------------------------
r43993 | michael | 2020-01-19 17:46:30 +0100 (Sun, 19 Jan 2020) | 1 line

* More verbose error for array with non-supported element type
------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43994 -

michael 5 lat temu
rodzic
commit
b715259e5a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/fcl-web/src/base/restbase.pp

+ 1 - 1
packages/fcl-web/src/base/restbase.pp

@@ -717,7 +717,7 @@ begin
         TStringArray(AP)[I]:=AValue.Strings[i];
         end;
     else
-      Raise ERESTAPI.CreateFmt('%s: unsupported array element type : %s',[ClassName,GetEnumName(TypeInfo(TTypeKind),Ord(ET^.Kind))]);
+      Raise ERESTAPI.CreateFmt('%s: unsupported array element type for property of type %s: %s',[ClassName,AN,GetEnumName(TypeInfo(TTypeKind),Ord(ET^.Kind))]);
     end;
     end;
 end;