Bug when running the script the first time (without yet downloaded msedgedriver.exe)
Null check on $curEdgeDriverVersion is missing when logging information about version:
https://gitlab.com/Lieben/OnedriveMapper_V3/blob/master/OneDriveMapper.ps1#L1316
You get a null exception and the driver is never downloaded.