Skip to content

remove exception and some erros - #2

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

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

Conversation

@Sajo8

@Sajo8 Sajo8 commented Oct 21, 2018

Copy link
Copy Markdown

WHY WOULD YOU RAISE AN EXCEPTION

@fexra

fexra commented Oct 22, 2018

Copy link
Copy Markdown
Member

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
Copy Markdown

Why would an api ever have print statements in? 🤔

@fexra

fexra commented Oct 22, 2018

Copy link
Copy Markdown
Member

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
Copy Markdown

👌

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