add actual error msg to error output

This commit is contained in:
Wolfgang Rumpler 2019-06-19 15:44:13 +02:00
parent a0f94bc1c3
commit 3f61f24624

View file

@ -241,7 +241,7 @@ var WallpaperController = class {
this._fetchFile(historyElement.source.imageDownloadUrl, (historyId, path, error) => {
if (error) {
this._bailOutWithCallback("Could not load new wallpaper.", callback);
this._bailOutWithCallback("Could not load new wallpaper. (" + error + ")", callback);
this._stopLoadingHooks.map(element => element(null));
return;
}