Script error reporter/ warner

Hello, first of all thank you for taking the time and reading this.
So I wanted to ask if it’s possible to create a script that reports you in any way every script error of any scripts. It could be logged on discord or just simply in a txt file on the server.
It would be very nice if someone could help me out. Thank you! : )

Hey ! :slightly_smiling_face:
The server will output the errors on its own in the console and you can see the logs in the following text file : txData\default\logs