package com.lingniu.ingest.yutongmqttapp;

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

@SpringBootApplication
public class YutongMqttApplication {

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

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