Not necessarily but I do agree, it is unlikely to be the case. Note though that wear and tear on an SD card is not the only thing that can cause weird behaviors like this. It is also dangerous to lose power on ANY linux machine. This can cause corruption of all or part of a file system.
Only the first few lines of the exception lines need to be posted. Use How to use code fences