This. I learned this long before I became an electrician, when I struggled with crashing software and installed Norton Crashguard, which basically ignored crashes and let the all continue running, often with amusing results. Ignoring the bug/crash is no solution, and auto restarting software after it crashes is a horrible kludge.
The same applies to electrical faults.
Does US have different type of GFCI? In Europe we've got various types with different capabilities:
Type AC: only good for sinusoidal AC
Type A: also handles pulsed DC component in the waveform (electronic loads)
Type F: like A, but also handles variable speed drive/motor loads
Type B: the ultimate, trip threshold varies depending on waveform frequency, intended for variable speed drives, PV systems, EV chargers, and medical equipment.