summaryrefslogtreecommitdiffstats
path: root/app.cpp
blob: 0ffe7114c2b6b089bd1aeebc1593dcc0dbc3667b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <phosphor-logging/log.hpp>
#include <exception>
#include "occ_pass_through.hpp"

int main(int argc, char* argv[])
{
    try
    {
        open_power::occ::pass_through::run();
    }
    catch (const std::exception& e)
    {
        using namespace phosphor::logging;
        log<level::ERR>(e.what());
        return -1;
    }

    return 0;
}
OpenPOWER on IntegriCloud