mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
WebUI: MochaUI: Show entire error message
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -237,7 +237,7 @@ MUI.extend({
|
||||
var getTitle = new RegExp("<title>[\n\r\s]*(.*)[\n\r\s]*</title>", "gmi");
|
||||
var error = getTitle.exec(response.responseText);
|
||||
if (!error) error = 'Unknown';
|
||||
contentContainer.set('html', '<h3>Error: ' + error[1] + '</h3>');
|
||||
contentContainer.set('html', '<h3>Error: ' + error + '</h3>');
|
||||
if (args.recipient == 'window'){
|
||||
instance.hideSpinner();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user