Fix 'break on exception' and 'ignore caught exceptions'
Properly update source code of errors logged as console.log(error)