Projects STRLCPY OnionSearch Commits 877a6b76
🤬
  • More transparent exception handling

  • Loading...
  • VLDRK committed 3 years ago
    877a6b76
    1 parent 8d875c78
  • ■ ■ ■ ■ ■ ■
    onionsearch/core.py
    skipped 892 lines
    893 893   ret = []
    894 894   try:
    895 895   ret = globals()[method_name](argument)
    896  - except:
    897  - print("Error: unable to connect")
     896 + except Exception as e:
     897 + print(f'Exception occured: {e}')
    898 898   return ret
    899 899   
    900 900   
    skipped 61 lines
Please wait...
Page is in error, reload to recover