Skip to content

Commit 268e643

Browse files
author
Nick Wei
committed
wrapped SSL related errors for install-plugin from URL
- removed NotFoundError, wasn't being used [finishes #142580147]
1 parent b0583a9 commit 268e643

25 files changed

Lines changed: 89 additions & 75 deletions

api/plugin/pluginerror/not_found_error.go

Lines changed: 0 additions & 10 deletions
This file was deleted.

cf/i18n/resources/de-de.all.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,7 +2404,7 @@
24042404
"translation": "Versuchtes Herunterladen ist fehlgeschlagen: {{.Error}}\n\nInstallieren nicht möglich; Plug-in ist von der angegebenen URL nicht verfügbar."
24052405
},
24062406
{
2407-
"id": "Download attempt failed; server returned {{.HTTPStatus}}\nUnable to install; plugin is not available from the given URL.",
2407+
"id": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL.",
24082408
"translation": ""
24092409
},
24102410
{

cf/i18n/resources/de-de.untranslated.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@
176176
"translation": ""
177177
},
178178
{
179-
"id": "Download attempt failed; server returned {{.HTTPStatus}}\nUnable to install; plugin is not available from the given URL.",
180-
"translation": ""
179+
"id": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL.",
180+
"translation": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL."
181181
},
182182
{
183183
"id": "ENVIRONMENT:",

cf/i18n/resources/en-us.all.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2404,8 +2404,8 @@
24042404
"translation": "Download attempt failed: {{.Error}}\n\nUnable to install, plugin is not available from the given url."
24052405
},
24062406
{
2407-
"id": "Download attempt failed; server returned {{.HTTPStatus}}\nUnable to install; plugin is not available from the given URL.",
2408-
"translation": ""
2407+
"id": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL.",
2408+
"translation": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL."
24092409
},
24102410
{
24112411
"id": "Downloaded plugin binary's checksum does not match repo metadata",

cf/i18n/resources/es-es.all.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,7 +2404,7 @@
24042404
"translation": "Ha fallado un intento de descarga: {{.Error}}\n\nNo se ha podido instalar, el plugin no está disponible desde el URL proporcionado."
24052405
},
24062406
{
2407-
"id": "Download attempt failed; server returned {{.HTTPStatus}}\nUnable to install; plugin is not available from the given URL.",
2407+
"id": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL.",
24082408
"translation": ""
24092409
},
24102410
{

cf/i18n/resources/es-es.untranslated.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@
176176
"translation": ""
177177
},
178178
{
179-
"id": "Download attempt failed; server returned {{.HTTPStatus}}\nUnable to install; plugin is not available from the given URL.",
180-
"translation": ""
179+
"id": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL.",
180+
"translation": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL."
181181
},
182182
{
183183
"id": "ENVIRONMENT:",

cf/i18n/resources/fr-fr.all.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,7 +2404,7 @@
24042404
"translation": "Echec de la tentative de téléchargement : {{.Error}}\n\nImpossible de procéder à l'installation ; le plug-in n'est pas disponible à partir de l'adresse URL donnée."
24052405
},
24062406
{
2407-
"id": "Download attempt failed; server returned {{.HTTPStatus}}\nUnable to install; plugin is not available from the given URL.",
2407+
"id": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL.",
24082408
"translation": ""
24092409
},
24102410
{

cf/i18n/resources/fr-fr.untranslated.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@
176176
"translation": ""
177177
},
178178
{
179-
"id": "Download attempt failed; server returned {{.HTTPStatus}}\nUnable to install; plugin is not available from the given URL.",
180-
"translation": ""
179+
"id": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL.",
180+
"translation": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL."
181181
},
182182
{
183183
"id": "ENVIRONMENT:",

cf/i18n/resources/it-it.all.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,7 +2404,7 @@
24042404
"translation": "Tentativo di download non riuscito: {{.Error}}\n\nImpossibile eseguire l'installazione, il plug-in non è disponibile all'URL specificato."
24052405
},
24062406
{
2407-
"id": "Download attempt failed; server returned {{.HTTPStatus}}\nUnable to install; plugin is not available from the given URL.",
2407+
"id": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL.",
24082408
"translation": ""
24092409
},
24102410
{

cf/i18n/resources/it-it.untranslated.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@
176176
"translation": ""
177177
},
178178
{
179-
"id": "Download attempt failed; server returned {{.HTTPStatus}}\nUnable to install; plugin is not available from the given URL.",
180-
"translation": ""
179+
"id": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL.",
180+
"translation": "Download attempt failed; server returned {{.ErrorMessage}}\nUnable to install; plugin is not available from the given URL."
181181
},
182182
{
183183
"id": "ENVIRONMENT:",

0 commit comments

Comments
 (0)