reinstall bootloader on an esp32

hey guys,
while uploading some new code to my esp32 i clicked the reset button on it a second after the arduino uploader found the esp32 and made connection with it, and started uploading the code. I got a fatal error and I think I may have messed up the bootloader because nothing else will upload, i keep getting fatal timed out errors.
Unfortunately I don't have the original fatal error that caused the problem, but does anyone know how easy it is to somehow fix the bootloader or whatever is wrong with the dam thing?

Try google: "bricked esp32"

I have no experience with unbricking an ESP32 but have, on occasions, had to do this with an ESP8266 and it was a horrible performance.