Commits

mickael9 committed 7eb9fa8

Handle API errors gracefully

  • Participants
  • Parent commits 72db5c2

Comments (0)

Files changed (1)

File gett_uploader.py

 
 
 if __name__ == '__main__':
-    main()
+    try:
+        main()
+    except APIError as ex:
+        print('API error : %s' % ex)