drewr / postal

Clojure email support
MIT License
586 stars 85 forks source link

Fix pom version bug #97

Open helins opened 6 years ago

helins commented 6 years ago

This problem is odd, very odd, I don't fully understand it. It appeared out of nowhere when using postal on the raspberry pi, if that's relevant.

Before this fix, postal.support/pom-version would sometimes throw a null pointer exception because it could not find the relevant pom file. Now, this function returns nil instead.

Furthermore, postal.support/user-agent has been corrected accordingly.