I just started my career as an online freelancer and even though I try to do my best I have this constant stress & anxiety about what will happen if there is a huge unwanted issue/bug in my code that might hold me responsible for any possible future damages caused by the code?
For that reason, I started putting MPL-2 "LICENSE" file in my root directory of projects before delivering them, so basically my clients can do whatever they want with the code, re-sell it, publish it online, etc. I also offer 6-months of free bug fixing to them.
Is that enough to not to be held responsible? (am I doing it right?)
Any help is greatly appreciated.
P.S. I'm a PHP coder so the source is always provided to the customer
P.P.S. In case it's relevant, I am diagnosed with Generalized Anxiety Disorder (GAD)