3 ms·
I agree very much. This was ultimately an ORM trying to convert a NULL to an int. An error message like "I was trying to load EntityX and got this error" would
by EdwardDiego 4y ago
I agree very much. This was ultimately an ORM trying to convert a NULL to an int. An error message like "I was trying to load EntityX and got this error" would've been ideal.
It's a reasonably common issue with running Go apps, you're relying on the coder to make good decisions to give you useful insights.
Other ecosystems I've used err more in favour of the person running the thing - compare the more widespread
Go logging libs to, say, Java, where the sysop has very fine-grained control if they need it.