Show the whole error stack on load failure

This is in reference to issue #1018 

Currently only the original error message is shown. This pull request includes the whole error stack, which immediately points the user to the offending failing line.