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) {