Skip to main content
Question

Exception handling for username and password using SDK


mayank_phopse
Fan

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