fix reporting of uncaught exceptions: chrome v35 only reports them correctly in the console when the message is smaller than around 238 characters.