nrnavaneet opened a new pull request, #52779:
URL: https://github.com/apache/airflow/pull/52779

   Closes #52771
   
   This PR updates `Variable.get()` to log a DEBUG message instead of ERROR 
when a variable is missing but a default is provided.
   
   ### Why?
   Logging an error in this case causes unnecessary noise in logs and tools 
like Sentry, even though a fallback value is used. This change makes the logs 
cleaner and more accurate.
   
   ### Before:
   Logs ERROR even if default is given.
   
   ### After:
   Logs DEBUG if default is given, ERROR only if no default is provided.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to