Browse Source

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

git-svn-id: trunk@43993 -
michael 5 years ago
parent
commit
5236f756d1
1 changed files with 1 additions and 1 deletions
  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;