Question

Exception handling for username and password using SDK

  • 31 January 2023
  • 0 replies
  • 13 views

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?  


0 replies

Be the first to reply!

Reply