I have tried exceptional handling for invalid username or password using SDK.
try: JDBC_consumer.username = "****" JDBC_consumer.password = "********"except: print("Invalid username & password")
Following code is not working. Can anyone suggest a different approach?