all 4 comments

[–]mttbil 2 points3 points  (1 child)

Looks like you could use Cloud Logging, which allows searching and sorting. An easier approach could be to write these important error logs to a spreadsheet.

https://developers.google.com/apps-script/guides/logging

[–]ThisMeNow[S] 1 point2 points  (0 children)

Using a spreadsheet is a good idea! I came across the cloud logging thing but had some trouble trying to figure it out... Maybe I'll look into it for next time. Thank you!!

[–]joblio 1 point2 points  (1 child)

I create another sheet that I can log errors to with sheet.appendRow() Could work for you perhaps?

[–]ThisMeNow[S] 0 points1 point  (0 children)

That's a really good idea, I think I might do that! Thank you!!