소스 검색

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);