Error Catching #51
Unanswered
thejoeker12
asked this question in
Q&A
Replies: 1 comment
-
I designed from jamf.api import APIError
try:
# make your call
computers = api.get('computers')
except APIError as e:
# catch APIError here
pass however, after reviewing the code, it looks like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
Awesome lib, how do I catch an API error?
Error is jamf.api.APIError(), but I do not know what args to give it?
Thanks!
Joseph
Beta Was this translation helpful? Give feedback.
All reactions