diff --git a/platinum-sw-fetch.html b/platinum-sw-fetch.html index 032fbe9..ba5a50d 100644 --- a/platinum-sw-fetch.html +++ b/platinum-sw-fetch.html @@ -126,7 +126,7 @@ if (this.path && this.handler) { params.route = [this.path, this.handler, this.origin]; } else { - console.log('The following platinum-sw-fetch element will not have any effect. ' + + console.warn('The following platinum-sw-fetch element will not have any effect. ' + 'Both the "path" and "handler" attributes must be set.', this); } resolve(params); diff --git a/platinum-sw-import-script.html b/platinum-sw-import-script.html index 054d08a..9cb4755 100644 --- a/platinum-sw-import-script.html +++ b/platinum-sw-import-script.html @@ -50,8 +50,8 @@ if (this.href) { params.importscript = this.href; } else { - console.log('The following platinum-sw-import-script element will not have any effect. ' + - 'The "href" attribute must be set.', this); + console.warn('The following platinum-sw-import-script element will not have any effect.' + + ' The "href" attribute must be set.', this); } resolve(params); }.bind(this));