Former-commit-id: 58b07e9e84
This commit is contained in:
2025-11-28 02:22:17 +01:00
parent b418ae9525
commit 9ba861dabb

View File

@@ -3,21 +3,14 @@ package com.auction;
public class Main {
public static void main(String[] args) {
System.out.println("Starting Troostwijk Auction Scraper...");
System.out.println("Container is running and healthy.");
// Keep container alive
try {
//TroostwijkScraper.main(args);
System.out.println("This is fine..");
} catch (Exception e) {
System.err.println("Error starting scraper: " + e.getMessage());
e.printStackTrace();
// Keep container alive for debugging
System.out.println("\nContainer will remain running. Check logs for errors.");
try {
Thread.sleep(Long.MAX_VALUE);
} catch (InterruptedException ie) {
Thread.currentThread().interrupt();
}
Thread.sleep(Long.MAX_VALUE);
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
System.out.println("Container interrupted, exiting.");
}
}
}