Skip to content

Commit

Permalink
Changing error on non-ssl crypto from dt iFrame to a warn so it doesn…
Browse files Browse the repository at this point in the history
…'t show in console.
  • Loading branch information
goosemanjack committed Jan 8, 2020
1 parent 7e81a69 commit d3e4c18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/dt.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
sendMessage(digiTrustUserJSON);
});
} catch (e) {
log.error('Failure encrypting DigiTrust Identity', e);
log.warn('Failure encrypting DigiTrust Identity', e);
if (dt.util.isChrome()) {
var cryptoObj = dt.util.getBrowserCrypto();
if (cryptoObj.subtle == null) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "digitrust",
"version": "1.5.40",
"version": "1.5.41",
"description": "Package for a universal ID for registered ad servers",
"main": "dist/digitrust.min.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion pages/dt.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
sendMessage(digiTrustUserJSON);
});
} catch (e) {
log.error('Failure encrypting DigiTrust Identity', e);
log.warn('Failure encrypting DigiTrust Identity', e);
if (dt.util.isChrome()) {
var cryptoObj = dt.util.getBrowserCrypto();
if (cryptoObj.subtle == null) {
Expand Down

0 comments on commit d3e4c18

Please sign in to comment.