Define logger in main.rb before first use
What does this MR do?
Fix a bug in main.rb
in which a logger
variable is used
to report missing environment variables, however logger
is not defined.
Identified through manual testing.
What are the relevant issue numbers?
No issue.