Skip to content

Commit

Permalink
Merge pull request #445 from jfgarcia268/master
Browse files Browse the repository at this point in the history
Display Error info LWC Compiler + ChargeMeasurement support for packGetAllAvailableExports
  • Loading branch information
Adam Rutland authored Mar 10, 2022
2 parents e8b9d48 + 6a857ed commit d42622a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/querydefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ CalculationProcedureVersion:
requiredSetting: separateCalculationProcedureVersions
Catalog:
VlocityDataPackType: Catalog
query: Select Id, Name from %vlocity_namespace%__Catalog__c
query: Select Id, Name from %vlocity_namespace%__Catalog__c
ChargeMeasurement:
VlocityDataPackType: ChargeMeasurement
query: Select Id, Name from %vlocity_namespace%__ChargeMeasurement__c
ContentVersion:
VlocityDataPackType: ContentVersion
query: Select Id, Title, %vlocity_namespace%__GlobalKey__c from ContentVersion WHERE %vlocity_namespace%__GlobalKey__c != null
Expand Down
2 changes: 1 addition & 1 deletion lib/vlocityutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ VlocityUtils.loadCompiler = async function (nameOfCompiler, jobInfo, packageVers
try {
return await VlocityUtils.requirePlugin(jobInfo, lwcCompiler, lwcCompilerVersion);
} catch (err) {
VlocityUtils.error('An error occurred while loading OmniScript compiler.');
VlocityUtils.error('An error occurred while loading OmniScript compiler: ' + err);
return null;
}
}

0 comments on commit d42622a

Please sign in to comment.