Skip to content

wrap status check with try

bc9caf2
Select commit
Loading
Failed to load commit list.
Open

[HOTE-983] feat: Generate Notification: Order Dispatched #316

wrap status check with try
bc9caf2
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 7, 2026 in 35s

Annotations

Check warning on line 38 in lambdas/src/order-status-lambda/notify-service.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "switch" statement by "if" statements to increase readability.

See more on https://sonarcloud.io/project/issues?id=NHSDigital_hometest-service&issues=AZ1Ssf8DTIwSMyAR0DAy&open=AZ1Ssf8DTIwSMyAR0DAy&pullRequest=316