This commit is contained in:
2025-11-28 02:19:48 +01:00
parent b1295f4329
commit 90ce6bc907
2 changed files with 18 additions and 3 deletions

View File

@@ -1,8 +1,23 @@
package com.auction;
public class Main {
public static void main(String[] args) throws Exception {
public static void main(String[] args) {
System.out.println("Starting Troostwijk Auction Scraper...");
//TroostwijkScraper.main(args);
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();
}
}
}
}