Skip to content

Commit

Permalink
Better message.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhoefer committed Jan 21, 2022
1 parent 747abfb commit 9250bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/packagefetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function fetch(fetchAll, job) {

const licenseOrgs = await packageorgs.retrieveByType([sfdc.OrgTypes.Licenses]);
if (licenseOrgs.length === 0) {
adminJob.postMessage(`Note: no connected org of type Licenses were found. No package data will be fetched without at least one Licenses org connected.`);
adminJob.postDetail("No packages found", {message: "No connected org of type Licenses were found. Go to Connected Orgs and add or edit at least one org of type Licenses."});
return;
}

Expand Down

0 comments on commit 9250bc7

Please sign in to comment.