Add lbry.reportBug()

This commit is contained in:
Alex Liebowitz 2016-04-23 08:19:15 -04:00
parent 17e0ebdc80
commit f91ba86295

View file

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