As script names can sometimes be rather long, if the name wouldn't be displayed in the error message we wouldn't need to enlarge horizontally the IDE / column divider so much to actually be able to read the complete message.
Script name is already displayed in first line in red in IDE, window title bar / docker tab, so it seems a bit redundant to me to also display in the error message.