mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
uptime - adjust synthetics service sync errors behavior (#125169)
This commit is contained in:
parent
49f8b2eff6
commit
e63eeb65be
1 changed files with 16 additions and 14 deletions
|
@ -110,20 +110,22 @@ export const ActionBar = ({ monitor, isValid, onSave, onTestNow, testRun }: Acti
|
|||
},
|
||||
})}
|
||||
</p>
|
||||
<p>
|
||||
{status
|
||||
? i18n.translate('xpack.uptime.monitorManagement.service.error.status', {
|
||||
defaultMessage: 'Status: {status}. ',
|
||||
values: { status: responseStatus },
|
||||
})
|
||||
: null}
|
||||
{reason
|
||||
? i18n.translate('xpack.uptime.monitorManagement.service.error.reason', {
|
||||
defaultMessage: 'Reason: {reason}.',
|
||||
values: { reason },
|
||||
})
|
||||
: null}
|
||||
</p>
|
||||
{responseStatus || reason ? (
|
||||
<p>
|
||||
{responseStatus
|
||||
? i18n.translate('xpack.uptime.monitorManagement.service.error.status', {
|
||||
defaultMessage: 'Status: {status}. ',
|
||||
values: { status: responseStatus },
|
||||
})
|
||||
: null}
|
||||
{reason
|
||||
? i18n.translate('xpack.uptime.monitorManagement.service.error.reason', {
|
||||
defaultMessage: 'Reason: {reason}.',
|
||||
values: { reason },
|
||||
})
|
||||
: null}
|
||||
</p>
|
||||
) : null}
|
||||
</>
|
||||
),
|
||||
toastLifeTimeMs: 30000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue