Limit error dialog

The idea is:

Adjust the functionality of right hand popup errors. Sometimes they are too large to fit on the screen making it difficult to close. Maybe apply a scroll bar to the error, maybe put the close button in the lower right corner. There are 1000 possible solutions…

My use case:

While using python node the error output is very large and does not fit on the screen. (as pictured)

I think it would be beneficial to add this because:

The current solution is to shrink the screen 5 times every time it catches an error just to click on the little x in the upper right hand corner.

Any resources to support this?