fix(card-master): 500 not 503 when blob missing; explicit test-project copy link
This commit is contained in:
@@ -29,7 +29,8 @@ public class ImmutableDataController : SVSimController
|
||||
{
|
||||
if (!_provider.IsAvailable)
|
||||
{
|
||||
return StatusCode(503, "card-master payload not available");
|
||||
// 500 not 503: blob missing is operator error (config / build), not transient — no retry will help.
|
||||
return StatusCode(500, "card-master payload not available");
|
||||
}
|
||||
return Ok(new CardMasterResponse { CardMaster = _provider.Base64Blob });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user