Skip to content
This repository was archived by the owner on Mar 13, 2020. It is now read-only.

Commit fe92b34

Browse files
authored
Merge pull request #26 from PageUpPeopleOrg/feature/OSC-1259-do-not-log-conn-str
[OSC-1259] stop logging invalid connection strings (which could have valid passwords)
2 parents 9e4ba3d + e11a99d commit fe92b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdl/RelationalDataLoader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def log_level_string_to_int(self, log_level_string):
7878

7979
def raw_connection_string_to_valid_source_connection_string(self, connection_string):
8080
if not self.data_source_factory.is_prefix_supported(connection_string):
81-
message = f"Invalid connection string: '{connection_string}'. " \
81+
message = f"Invalid connection string. " \
8282
f"Connection strings must begin with '{self.data_source_factory.get_supported_source_prefixes()}'"
8383
raise argparse.ArgumentTypeError(message)
8484
return connection_string

0 commit comments

Comments
 (0)