4 ms·
I really wish English had different individual words for the concepts "known [problem] we should not worry about" and "[problems] I did not anticipate".
by sandinmyjoints 4y ago
I really wish English had different individual words for the concepts "known [problem] we should not worry about" and "[problems] I did not anticipate".
- cduzz 4y agowarning (a not fatal thing happened; took too long) error (a fatal thing I was expecting happened; I couldn't reach the API) exception (a fatal thing I wasn't expecting happened; the runtime fault handler did a thing named XYZ)
- hbrn 4y agoERROR and WARNING log levels. Everything goes to ERROR by default, some errors get downgraded to WARNING when you confirm they are not important. Send ERRORs to Sentry (or whatever you use) and deal with them immediately. Send WARNINGs to your favorite centralized logging solution and deal with them when there's too many.