If I run
desktop_session = ld.open_session('desktop.workspace')
with incorrect key or when LSEG Workspace is down, I see that:
desktop_session.open_state == "Closed"
How can I get the error code and message of why it couldn't open the session?
I can see this data is in the log file. Can I get it from the code?