The missing exception message looks like a language translation issue?
Note to self: Run this in a debugger to learn what is amiss here…
https://github.com/frappe/frappe/blob/develop/frappe/\_\_init\_\_.py#L358
https://github.com/frappe/frappe/blob/develop/frappe/\_\_init\_\_.py#L51