The callback of ipcMain.handle has two parameters.
ipcMain.handle
You're trying to use the event object as the arguments.
If you don't need to access the event object, use this instead:
ipcMain.handle('run-start', async (_, database) => { // YOUR CODE });