Add more diagnostics for errors caught in chrome