We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd7046 commit e74e521Copy full SHA for e74e521
packages/app/src/app/overmind/namespaces/files/actions.ts
@@ -427,12 +427,16 @@ export const filesUploaded: AsyncAction<{
427
});
428
} catch (error) {
429
if (error.message.indexOf('413') !== -1) {
430
- return;
+ actions.internal.handleError({
431
+ message: `The uploaded file is bigger than 7MB, contact [email protected] if you want to raise this limit`,
432
+ error,
433
+ });
434
+ } else {
435
436
+ message: 'Unable to upload files',
437
438
439
}
- actions.internal.handleError({
- message: 'Unable to upload files',
- error,
- });
440
441
442
actions.internal.closeModals(false);
0 commit comments