Chromium Code Reviews| Index: chrome/browser/resources/device_log_ui/device_log_ui.js |
| diff --git a/chrome/browser/resources/device_log_ui/device_log_ui.js b/chrome/browser/resources/device_log_ui/device_log_ui.js |
| index a562ed7eddbd1d0efcabca85aa895c1fa8181c0e..c3f4c8f3dd1c6b366970999d5cf7f2014406b78c 100644 |
| --- a/chrome/browser/resources/device_log_ui/device_log_ui.js |
| +++ b/chrome/browser/resources/device_log_ui/device_log_ui.js |
| @@ -95,7 +95,9 @@ var DeviceLogUI = (function() { |
| * @param {Object} data A JSON structure of event log entries. |
| */ |
| var getLogCallback = function(data) { |
| - createEventLog(JSON.parse(data)); |
| + try { |
| + createEventLog(JSON.parse(data)); |
| + } catch(e) {} |
|
stevenjb
2016/01/27 18:13:08
This is fine as-is, but we might want to put somet
|
| }; |
| /** |