Do not think that any software error or bug will be gone by the time you will deploy another fresh code snippet into your backend architecture. It is completely false. Look into the root of the problem, solve it, test it again, and only if all of these three things are good, you may go ahead and write new code for your web application.