summaryrefslogtreecommitdiffhomepage
path: root/main.cpp
blob: 618baf834d3a6a736da5236e48d469aba6dc9a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "MainLoop.h"

int main(int argc, char** argv) {

  try {
    MainLoop main_loop{argc, argv};
    return main_loop.run();
  } catch (const std::exception& ex) {
    std::cerr << "Error: " << ex.what() << std::endl;
  }

  return 1;
}