package com.lingniu.ingest.xindapushapp;

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

@SpringBootApplication(scanBasePackages = "com.lingniu.ingest")
public class XindaPushApplication {

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

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