Skip to content

Commit

Permalink
Report resize warning as error (prebid#11896)
Browse files Browse the repository at this point in the history
This can cause too big of an issue for reporting it only as warning.
  • Loading branch information
Sir-Will authored and mefjush committed Jul 19, 2024
1 parent b32286a commit db156db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/secureCreatives.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function resizeRemoteCreative({adId, adUnitCode, width, height}) {
elementStyle.width = getDimension(width)
elementStyle.height = getDimension(height);
} else {
logWarn(`Unable to locate matching page element for adUnitCode ${adUnitCode}. Can't resize it to ad's dimensions. Please review setup.`);
logError(`Unable to locate matching page element for adUnitCode ${adUnitCode}. Can't resize it to ad's dimensions. Please review setup.`);
}
});

Expand Down

0 comments on commit db156db

Please sign in to comment.