Macbook black screen crash during gig

NOTE: Please use the search function above before posting to avoid creating duplicate topics.

  • Device model 15 Inch 2017 2.9 ghz quad core intel core i7, Intel HD graphics 630 1536 MB, Memory 16 GB 2133 Mhz LpDDR3:
  • Version of operating system Ventura 13.7.2:
  • Version of djay Version 5.2.6:
  • Hardware/controllers used DDJ-FLX4:

I was in the middle of a DJ gig and the macbook just went to black and restarted. There was a message on the screen, but was a square of text i wasnt able to read. I just assumed the normal mac error restart.
The error console popped up but i closed it to get to restarting the program and then when i went back into the console after the show, there wasnt an error or kernal panic listed, so i couldnt really track any errors.
I ran the program on automix the next day trying to replicate it into crashing but want successful.
The computer was plugged in on the left usb c port and the FLX was plugged into one on the right.
The computer had recently been restored so really doesnt have much else installed.