package com.lingniu.ingest.jt808app;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Jt808IngestApplication {

    private static final Logger log = LoggerFactory.getLogger(Jt808IngestApplication.class);

    public static void main(String[] args) {
        try {
            SpringApplication.run(Jt808IngestApplication.class, args);
        } catch (Throwable t) {
            log.error("JT808 ingest application failed to start, forcing JVM exit", t);
            System.exit(1);
        }
    }
}
