From f91ba86295733560e859b3ad00763c5203808023 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Sat, 23 Apr 2016 08:19:15 -0400 Subject: [PATCH] Add lbry.reportBug() --- js/lbry.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/js/lbry.js b/js/lbry.js index 6a9d37fea..55c318cc8 100644 --- a/js/lbry.js +++ b/js/lbry.js @@ -115,6 +115,15 @@ lbry.checkNewVersionAvailable = function(callback) { }); } +lbry.reportBug = function(message, callback) { + lbry.call('upload_log', { + name_prefix: 'report', + exclude_previous: false, + force: true, + message: message + }, callback); +} + //utilities lbry.formatCredits = function(amount, precision) {