package com.lingniu.ingest.analyticsapp;

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

@SpringBootApplication
public class VehicleAnalyticsApplication {

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

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