Skip to content

Commit

Permalink
refactor: update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravudia committed Feb 27, 2024
1 parent fd5d594 commit 8bab57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/destinations/mp/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function trimTraits(traits, contextTraits, setOnceProperties) {
const generatePageOrScreenCustomEventName = (message, userDefinedEventTemplate) => {
if (!userDefinedEventTemplate) {
throw new ConfigurationError(

Check warning on line 318 in src/v0/destinations/mp/util.js

View check run for this annotation

Codecov / codecov/patch

src/v0/destinations/mp/util.js#L318

Added line #L318 was not covered by tests
'Event template is missing. Please provide a valid event template in `Page/Screen Event Name Template` setting',
'Event name template is not configured. Please provide a valid value for the `Page/Screen Event Name Template` in the destination dashboard.',
);
}

Expand Down

0 comments on commit 8bab57e

Please sign in to comment.