Add ffprobe errors for ECONNRESET and CERT_HAS_EXPIRED
This commit is contained in:
parent
6d0498987a
commit
4b48966e1d
|
@ -13,6 +13,7 @@ const ECODE_MESSAGES = {
|
||||||
'Please check that the link is correct.'
|
'Please check that the link is correct.'
|
||||||
),
|
),
|
||||||
EPROTO: e => 'The remote server does not support HTTPS.',
|
EPROTO: e => 'The remote server does not support HTTPS.',
|
||||||
|
ECONNRESET: e => 'The remote server unexpectedly closed the connection.',
|
||||||
ECONNREFUSED: e => (
|
ECONNREFUSED: e => (
|
||||||
'The remote server refused the connection. ' +
|
'The remote server refused the connection. ' +
|
||||||
'Please check that the link is correct and the server is running.'
|
'Please check that the link is correct and the server is running.'
|
||||||
|
@ -36,6 +37,10 @@ const ECODE_MESSAGES = {
|
||||||
"The remote server's SSL certificate chain could not be validated. " +
|
"The remote server's SSL certificate chain could not be validated. " +
|
||||||
"Please contact the administrator of the server to correct their " +
|
"Please contact the administrator of the server to correct their " +
|
||||||
"SSL certificate configuration."
|
"SSL certificate configuration."
|
||||||
|
),
|
||||||
|
CERT_HAS_EXPIRED: e => (
|
||||||
|
"The remote server's SSL certificate has expired. Please contact " +
|
||||||
|
"the administrator of the server to renew the certificate."
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue