mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Remove debugging abort from jsonpublisher
This commit is contained in:
parent
3cee3ee3c9
commit
fdc4b9c4bd
|
@ -280,13 +280,13 @@ namespace llarp
|
|||
|
||||
void
|
||||
JsonPublisher::directoryPublisher(const nlohmann::json &result,
|
||||
const fs::path& path)
|
||||
const fs::path &path)
|
||||
{
|
||||
std::ofstream fstream(path.string(), std::ios_base::app);
|
||||
if(!fstream)
|
||||
{
|
||||
std::cerr << "Skipping metrics publish, " << path << " is not a file\n";
|
||||
abort();
|
||||
return;
|
||||
}
|
||||
|
||||
fstream << std::setw(0) << result << '\n';
|
||||
|
|
Loading…
Reference in a new issue