|
|
@ -29,7 +29,7 @@ void Response::render(const char *path, nlohmann::json data) |
|
|
|
body(result.c_str()); |
|
|
|
body(result.c_str()); |
|
|
|
} catch (inja::RenderError &e) { |
|
|
|
} catch (inja::RenderError &e) { |
|
|
|
std::cerr << e.what() << std::endl; |
|
|
|
std::cerr << e.what() << std::endl; |
|
|
|
status(internal_server_error); |
|
|
|
status(rpd_res_st_internal_server_error); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|