Print inner exception message for script loading errors as well since they contain hints about syntax errors etc.

(cherry picked from commit 267f48db73677909d2e7d93f2d524a067ee6ea68)