Skip to content

Commit

Permalink
Improve scraping errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Sep 14, 2024
1 parent 4a1e37a commit b297b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataScraping/XML/ItemSources.pas
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ interface
begin
self._name := name;
if name in all_sources then
raise new InvalidOperationException(self.ToString);
raise new InvalidOperationException($'Added {self} multiple times');
all_sources.Add(name, TSelf(self));
end;
protected constructor := raise new System.InvalidOperationException;
Expand Down

0 comments on commit b297b60

Please sign in to comment.