add error handling for missing env vars and respective tests 8cccf42 Nathan Chang commited on Jul 3, 2025