Skip to content

Commit

Permalink
Merge pull request #32894 from nextcloud/backport/32878/stable24
Browse files Browse the repository at this point in the history
[stable24] Fix default toast message for failed uploads with HTTP/2
  • Loading branch information
blizzz authored Jun 21, 2022
2 parents 1d186d4 + f4949f0 commit e850afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/js/file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ OC.Uploader.prototype = _.extend({
}
}
console.error(e, data, response)
OC.Notification.show(message || data.errorThrown, {type: 'error'});
OC.Notification.show(message || data.errorThrown || t('files', 'File could not be uploaded'), {type: 'error'});
}

if (upload) {
Expand Down

0 comments on commit e850afb

Please sign in to comment.