Skip to content

Commit

Permalink
improve error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
keyn4 committed May 24, 2024
1 parent 4eb6335 commit 6d7a568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target_salesforce_v3/sinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ def preprocess_record(self, record, context):
break

if not object_type:
return {"error": f"Object {object_type} doesn't exist on Salesforce"}
return {"error": f"Object not found for {self.name} in Salesforce"}

# get record fields
try:
Expand Down

0 comments on commit 6d7a568

Please sign in to comment.