Skip to content

Comments

remove exception and some erros#2

Open
Sajo8 wants to merge 3 commits intotrtl-services:masterfrom
Sajo8:patch-1
Open

remove exception and some erros#2
Sajo8 wants to merge 3 commits intotrtl-services:masterfrom
Sajo8:patch-1

Conversation

@Sajo8
Copy link

@Sajo8 Sajo8 commented Oct 21, 2018

WHY WOULD YOU RAISE AN EXCEPTION

@fexra
Copy link
Member

fexra commented Oct 22, 2018

Not too familiar with python but the goal is to stop the script and not let it continue if no scan is needed. The print function does not do this, and continues runtime.

@zpalmtree
Copy link

Why would an api ever have print statements in? 🤔

@fexra
Copy link
Member

fexra commented Oct 22, 2018

Why would an api ever have print statements in?

This is just an example script that uses the python wrapper to interact with the API, not the API itself 😉

@zpalmtree
Copy link

👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants