Expand my Community achievements bar.

SOLVED

Can console warnings stop execution of certain rules?

Avatar

Level 1

Can console warnings about deprecated variables cause certain rules to fail? Also how can I fix these? Searching for them in provides no results.

 

nelsontran1_0-1632248995037.png

nelsontran1_1-1632249041094.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @nelsontran1 

 

As I'm aware console warnings not stopping execution of rules unless the specific methods / functions you have used in your build code. 

Above warning messages just showing you that container.buildInfo.environment  method is deprecated so use the new one instead to get the environment that the current tag runtime library is deployed on. 

 

Hope this helps. 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @nelsontran1 

 

As I'm aware console warnings not stopping execution of rules unless the specific methods / functions you have used in your build code. 

Above warning messages just showing you that container.buildInfo.environment  method is deprecated so use the new one instead to get the environment that the current tag runtime library is deployed on. 

 

Hope this helps. 

Avatar

Level 1

Is there a quick way of finding out where I am using these deprecated functions/variables? The search in Adobe Launch is not the greatest and is not bringing it up.