mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
20 lines
No EOL
452 B
C++
20 lines
No EOL
452 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#include <iostream>
|
|
|
|
#include <boost/beast/core.hpp>
|
|
|
|
#include "context.h"
|
|
#include "util.h"
|
|
|
|
namespace onnxruntime {
|
|
namespace server {
|
|
|
|
// Report a failure
|
|
void ErrorHandling(beast::error_code ec, char const* what) {
|
|
std::cerr << what << " failed: " << ec.value() << " : " << ec.message() << "\n";
|
|
}
|
|
|
|
} // namespace server
|
|
} // namespace onnxruntime
|