Skip to content

Commit

Permalink
アップロード管理 エラー処理追加
Browse files Browse the repository at this point in the history
  • Loading branch information
seto1 committed Mar 6, 2024
1 parent 5bf7870 commit a780bb5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,11 @@ $(function () {
cache: false,
success: uploadSuccessHandler,
error: function (response) {
$.bcUtil.showApiError(response);
if (response.responseJSON) {
$.bcUtil.showApiError(response);
} else {
$.bcUtil.showAlertMessage('処理中にエラーが発生しました。ファイルが大きすぎる可能性があります。');
}
$.bcUtil.hideLoader()
},
});
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a780bb5

Please sign in to comment.