浏览代码

more info on exception

Grant Limberg 2 年之前
父节点
当前提交
dea47f601d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/PostgreSQL.cpp

+ 1 - 1
controller/PostgreSQL.cpp

@@ -517,7 +517,7 @@ AuthInfo PostgreSQL::getSSOAuthInfo(const nlohmann::json &member, const std::str
 
 
 		_pool->unborrow(c);
 		_pool->unborrow(c);
 	} catch (std::exception &e) {
 	} catch (std::exception &e) {
-		fprintf(stderr, "ERROR: Error updating member on load: %s\n", e.what());
+		fprintf(stderr, "ERROR: Error updating member on load for network %s: %s\n", networkId.c_str(), e.what());
 	}
 	}
 
 
 	return info; //std::string(authenticationURL);
 	return info; //std::string(authenticationURL);