commit 22/08/2025

This commit is contained in:
2025-08-22 08:11:36 +07:00
parent f7c74304f5
commit 8f85e3fccd
3 changed files with 5 additions and 5 deletions

View File

@@ -941,19 +941,19 @@ public class CaptureView {
return pr; return pr;
} else { } else {
Logger.error("Barcode ",finalbarCode," PatientRecord name is empty"); Logger.error("Barcode ",finalbarCode," PatientRecord name is empty");
throw new Exception("Barcode "+finalbarCode+" PatientRecord name kosong"); throw new Exception("Barcode "+finalbarCode+" PatientRecord name kosong, code= "+br.getStatusCode());
} }
} else { } else {
Logger.error("Barcode ",finalbarCode," PatientRecord medical_record_detail_id is empty"); Logger.error("Barcode ",finalbarCode," PatientRecord medical_record_detail_id is empty");
throw new Exception("Data dengan barcode "+finalbarCode+", PatientRecord medical_record_detail_id kosong"); throw new Exception("Data dengan barcode "+finalbarCode+", PatientRecord medical_record_detail_id kosong, code= "+br.getStatusCode());
} }
} else { } else {
Logger.error("Record associated with barcode ",finalbarCode," is empty"); Logger.error("Record associated with barcode ",finalbarCode," is empty");
throw new Exception("Data dengan barcode "+finalbarCode+" ditemukan di server, tetapi kosong"); throw new Exception("Data dengan barcode "+finalbarCode+" ditemukan di server, tetapi kosong, code= "+br.getStatusCode());
} }
} else { } else {
Logger.error("Record associated with barcode ",finalbarCode," is not found"); Logger.error("Record associated with barcode ",finalbarCode," is not found");
throw new Exception("Data dengan barcode "+finalbarCode+" tidak ditemukan di server"); throw new Exception("Data dengan barcode "+finalbarCode+" tidak ditemukan di server, code= "+br.getStatusCode());
} }
} else { } else {
Logger.error("HTTP code ", br.getStatusCode(), " for barcode ", finalbarCode); Logger.error("HTTP code ", br.getStatusCode(), " for barcode ", finalbarCode);

View File

@@ -24,7 +24,7 @@ import static Config.SomeCodes.config;
public class MainApplication extends Application { public class MainApplication extends Application {
final String version = "18082025-PRODUCTION-1.0.6"; final String version = "18082025-PRODUCTION-1.0.7";
PhotoCleaner photoCleaner; PhotoCleaner photoCleaner;
public static Map<Integer, Detectors> detectorsList = new HashMap<>(); public static Map<Integer, Detectors> detectorsList = new HashMap<>();