diff options
author | 2018-12-08 23:41:29 +0100 | |
---|---|---|
committer | 2018-12-08 23:41:29 +0100 | |
commit | 6c10126eb9b3487fa853d2a9596a1df66c63de17 (patch) | |
tree | 670bac7be408e93b3c71ca14e23a03019a4ff186 /src/components | |
parent | Minor recipe plugin polishing (diff) | |
download | ferdium-app-6c10126eb9b3487fa853d2a9596a1df66c63de17.tar.gz ferdium-app-6c10126eb9b3487fa853d2a9596a1df66c63de17.tar.zst ferdium-app-6c10126eb9b3487fa853d2a9596a1df66c63de17.zip |
Polish webview error handler
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/services/content/ErrorHandlers/WebviewErrorHandler.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/services/content/ErrorHandlers/WebviewErrorHandler.js b/src/components/services/content/ErrorHandlers/WebviewErrorHandler.js index 05a64209b..df98bf835 100644 --- a/src/components/services/content/ErrorHandlers/WebviewErrorHandler.js +++ b/src/components/services/content/ErrorHandlers/WebviewErrorHandler.js | |||
@@ -27,7 +27,7 @@ const messages = defineMessages({ | |||
27 | }, | 27 | }, |
28 | errorMessage: { | 28 | errorMessage: { |
29 | id: 'service.errorHandler.message', | 29 | id: 'service.errorHandler.message', |
30 | defaultMessage: '!!!Error: {error}', | 30 | defaultMessage: '!!!Error:', |
31 | }, | 31 | }, |
32 | }); | 32 | }); |
33 | 33 | ||
@@ -58,9 +58,7 @@ export default @injectSheet(styles) @observer class WebviewCrashHandler extends | |||
58 | <div className={classes.component}> | 58 | <div className={classes.component}> |
59 | <h1>{intl.formatMessage(messages.headline)}</h1> | 59 | <h1>{intl.formatMessage(messages.headline)}</h1> |
60 | <p>{intl.formatMessage(messages.text, { name })}</p> | 60 | <p>{intl.formatMessage(messages.text, { name })}</p> |
61 | <p>{intl.formatMessage(messages.errorMessage, { | 61 | <p><strong>{intl.formatMessage(messages.errorMessage)}:</strong> {errorMessage}</p> |
62 | error: errorMessage, | ||
63 | })}</p> | ||
64 | <div className={classes.buttonContainer}> | 62 | <div className={classes.buttonContainer}> |
65 | <Button | 63 | <Button |
66 | label={intl.formatMessage(messages.editAction, { name })} | 64 | label={intl.formatMessage(messages.editAction, { name })} |