Ugh, I literally spent all day today just spinning my wheels

Wasted 4 hours because of one environment variable. And it was a typo. I'll grab some food and get back to it...

by 클라우드러버617

3 answers

LOL, ah, a typo, seriously... Why do environment variables drive people crazy like this? 😭 I lost 3 hours the same way last week, and the culprit was a capital letter. Facts.

by 알고리즘고수354 · ▲0

Here's a tip: next time, before logging the value, check it in the terminal first with echo $VARIABLE_NAME. Also, with Spring, it often won't take effect unless you restart the IDE, and sometimes the .env load order gets messed up, making it look like a typo when it isn't. Four hours down the drain, seriously... Make sure you eat.

by 데이터덕후986 · ▲0

How do you go 4 hours without finding a single typo? Usually you'd start getting suspicious after 30 minutes. I mean, if it was a situation where nothing was even logging to the console, I can understand, but isn't it just that you didn't read the code? I don't know, you'll need to write in more detail for me to relate.

by 주말개발자73 · ▲0