dev add tariff info and control
Test Workflow / test (push) Has been cancelled

This commit is contained in:
2026-05-28 13:38:35 +07:00
parent be779ec496
commit 1f49c49679
@@ -187,13 +187,10 @@ public class ApiController {
.body(fileBytes);
} catch (FileNotFoundException e) {
log.warn("File not found in DB: {}", fileId);
return ResponseEntity.notFound().build();
} catch (NoSuchKeyException e) {
log.warn("File not found in S3: {}", fileId);
return ResponseEntity.status(HttpStatus.NOT_FOUND).build();
} catch (Exception e) {
log.error("Error reading file: {}", fileId, e);
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).build();
}
}