mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 13:33:34 +08:00
Fixing #17489: Authenticated user uploading the not allowed media donesn't have any error info [4569 (6cb6b7704f7c)]
--HG-- branch : 1.x
This commit is contained in:
@@ -198,7 +198,7 @@ namespace Orchard.Media.Controllers {
|
||||
Services.Notifier.Information(T("Media file(s) uploaded"));
|
||||
return RedirectToAction("Edit", new { name = viewModel.FolderName, mediaPath = viewModel.MediaPath });
|
||||
} catch (Exception exception) {
|
||||
this.Error(exception, T("Uploading media file failed: {0}", exception.Message), Logger, Services.Notifier);
|
||||
this.Error(exception, T("Uploading media file failed:"), Logger, Services.Notifier);
|
||||
|
||||
return View(viewModel);
|
||||
}
|
||||
|
Reference in New Issue
Block a user