Commit 62af9ff6 authored by Felix Epp's avatar Felix Epp Committed by lilia
Browse files

Add user-agent string to DebugLog // fixes WhisperSystems/Signal-Desktop#404

The user-agent string includes the information needed (OS + Chrome version) and the console.get() function seems just right. The debugLog itself is not manipulated.
parent 557d33bf
......@@ -18,7 +18,7 @@
debugLog.push(str);
};
console.get = function() {
return debugLog.join('\n');
return window.navigator.userAgent + '\n' + debugLog.join('\n');
};
console.post = function(log) {
if (log === undefined) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment