I have this big chunk of code which I tested a lot (about 20 times) when I turn on my pi the script runs. But there was this time where there was an error so I checked the log that catches errors and it showed it, but I would be running the pi without the screen, I would never know there was an error in the first place. Is there any way of knowing if there was an error a function would run? And yes, I know I should try to do a big if else statement but my code is very long. Is there any good way of doing this?
Statistics: Posted by Henrik Gill — Tue Apr 02, 2024 8:33 pm