Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
loadKissMetrics shouldn't continue if key is not set.
Browse files Browse the repository at this point in the history
  • Loading branch information
andywaite committed Sep 1, 2015
1 parent 9e0d515 commit 9ea017f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function loadKissMetrics() {

if (!key) {
console.error('No key set for KISSmetrics, use setKey method to define it.');
return;
}

context._kmq = context._kmq || [];
Expand Down

0 comments on commit 9ea017f

Please sign in to comment.