diff options
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/shared/rest/rest-extractor.service.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/shared/rest/rest-extractor.service.ts b/client/src/app/shared/rest/rest-extractor.service.ts index 59dea7880..1b475da89 100644 --- a/client/src/app/shared/rest/rest-extractor.service.ts +++ b/client/src/app/shared/rest/rest-extractor.service.ts | |||
@@ -59,7 +59,10 @@ export class RestExtractor { | |||
59 | } else if (err.error.error) { | 59 | } else if (err.error.error) { |
60 | errorMessage = err.error.error | 60 | errorMessage = err.error.error |
61 | } | 61 | } |
62 | } else if (err.status === 413) { | ||
63 | errorMessage = 'Request is too large for the server. Please contact you administrator if you want to increase the limit size.' | ||
62 | } | 64 | } |
65 | |||
63 | errorMessage = errorMessage ? errorMessage : 'Unknown error.' | 66 | errorMessage = errorMessage ? errorMessage : 'Unknown error.' |
64 | console.error(`Backend returned code ${err.status}, body was: ${errorMessage}`) | 67 | console.error(`Backend returned code ${err.status}, body was: ${errorMessage}`) |
65 | } else { | 68 | } else { |