-fix missing enum case

This commit is contained in:
Florian Dold 2022-10-13 14:14:41 +02:00
parent 3a91f3ff88
commit 7b40a9f415
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 7 additions and 0 deletions

View File

@ -271,6 +271,9 @@ function openWalletURIFromPopup(talerUri: string): void {
`Response with HTTP 402 the Taler header but could not classify ${talerUri}`, `Response with HTTP 402 the Taler header but could not classify ${talerUri}`,
); );
return; return;
case TalerUriType.TalerDevExperiment:
logger.warn(`taler://dev-experiment URIs are not allowed in headers`);
return;
default: { default: {
const error: never = uriType; const error: never = uriType;
logger.warn( logger.warn(

View File

@ -301,6 +301,10 @@ function parseTalerUriAndRedirect(tabId: number, talerUri: string): void {
`Response with HTTP 402 the Taler header but could not classify ${talerUri}`, `Response with HTTP 402 the Taler header but could not classify ${talerUri}`,
); );
return; return;
case TalerUriType.TalerDevExperiment:
// FIXME: Implement!
logger.warn("not implemented");
return;
default: { default: {
const error: never = uriType; const error: never = uriType;
logger.warn( logger.warn(