Login errors are nullified

Why firstock client lib nullifying the error instead of “raise exception”

from thefirstock.loginNProfile.loginFunctionality.execution import *


def firstock_login(userId, password, TOTP, vendorCode, apiKey):
    try:
        login = FirstockLogin(
            uid=userId,
            pwd=password,
            factor2=TOTP,
            vc=vendorCode,
            appkey=apiKey,
        )

        result = login.firstockLogin()

        return result

    except Exception as e:
        print(e)

It should raise exception after print statement in except block.

    except Exception as e:
        print(e)
        raise Exception(e)

Hi Simbu,
We are working on it and will let you know as soon as it’s finished. Thank you for your patience.