I'm also not a fan of automatically use the GetLastError() code for setting the OS last error in default constructor of exception so I can go with it.
Was only wondering if some dependency was broken.
In theory, it is possible, but as the error string provided by default constructor was always useless, I doubt it. I think the cleanup is worth the risk here.