|
|
|
@@ -221,7 +221,7 @@ ge::Status Analyzer::SaveAnalyzerDataToFile(uint64_t session_id, uint64_t graph_ |
|
|
|
try { |
|
|
|
json_file_ << jsn.dump(kJsonDumpLevel) << std::endl; |
|
|
|
} catch (nlohmann::detail::type_error &e) { |
|
|
|
GELOGE(FAILED, "[Json.dump][GraphInfo]json.dump to file [%s] failed because [%s], session_id [%lu], graph_id [%lu].", json_file_name_.c_str(), e.what(), session_id, graph_id); |
|
|
|
GELOGE(FAILED, "[Json.dump][GraphInfo]json.dump to file [%s] failed because [%s], session_id:%lu, graph_id:%lu.", json_file_name_.c_str(), e.what(), session_id, graph_id); |
|
|
|
ret_failed = true; |
|
|
|
} |
|
|
|
json_file_.close(); |
|
|
|
|