csc-cia-stne 0.1.38__py3-none-any.whl → 0.1.39__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of csc-cia-stne might be problematic. Click here for more details.

@@ -369,11 +369,15 @@ class StoneAdmin:
369
369
 
370
370
  # Retorno inesperado pela API Stone Admin - consulta cliente ativo, retorna erro
371
371
  else:
372
+ try:
373
+ error = ValueError(response.json())
374
+ except Exception:
375
+ error = ValueError(response.text)
372
376
 
373
377
  retorno_json = {
374
378
  "success":False,
375
379
  "status_code": response.status_code,
376
- "error": ValueError(response.json())
380
+ "error": error
377
381
  }
378
382
  return retorno_json
379
383
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: csc_cia_stne
3
- Version: 0.1.38
3
+ Version: 0.1.39
4
4
  Summary: Biblioteca do time CSC-CIA utilizada no desenvolvimento de RPAs
5
5
  License: MIT
6
6
  Keywords: karavela,csc,cia,stone,rpa,botcity,stne
@@ -14,7 +14,7 @@ csc_cia_stne/logger_rich.py,sha256=fklgkBb4rblKQd7YZ3q-eWfhGg9eflO2k2-z4pGh_yo,5
14
14
  csc_cia_stne/provio.py,sha256=G-pDnHYLSp97joc7S7dvwjNvl3omnTmvdi3rOPQf5GA,3987
15
15
  csc_cia_stne/servicenow.py,sha256=PUGN6bjcQ25hf-bwVuuKsnRKdqYTaYZ1Uh7QHn9OM24,35350
16
16
  csc_cia_stne/slack.py,sha256=9re_--1DfZM2cr5Uaxu2tnWLd8lswHgCIWowoZ1wF-I,9580
17
- csc_cia_stne/stne_admin.py,sha256=Xnf0DQP-2-7tjyF3iBK4sldQIghEojDKF4kL3dkx1k8,28645
17
+ csc_cia_stne/stne_admin.py,sha256=SP6rPVy_67b6VMETfb7iI9a9YZO2gx-9krZbLBIZrPA,28788
18
18
  csc_cia_stne/wacess.py,sha256=g-bWZNpm_tU7UsW1G_rqh_2fW2KShvxZHGOerX8DuQw,26768
19
19
  csc_cia_stne/web.py,sha256=TBXUJ5eS36fytU3oFDuJsogi0sgw_qKgK-uphx4Nvxo,2506
20
20
  csc_cia_stne/utilitarios/__init__.py,sha256=JcLPOTApLoSresohSZn2fhl8TXydUOvxIF9esSl17Co,530
@@ -41,8 +41,8 @@ csc_cia_stne/utilitarios/web_screen/__init__.py,sha256=5QcOPXKd95SvP2DoZiHS0gaU6
41
41
  csc_cia_stne/utilitarios/web_screen/web_screen_abstract.py,sha256=PjL8Vgfj_JdKidia7RFyCkro3avYLQu4RZRos41sh3w,3241
42
42
  csc_cia_stne/utilitarios/web_screen/web_screen_botcity.py,sha256=Xi5YJjl2pcxlX3OimqcBWRNXZEpAE7asyUjDJ4Oho5U,12297
43
43
  csc_cia_stne/utilitarios/web_screen/web_screen_selenium.py,sha256=JLIcPJE9ZX3Pd6zG6oTRMqqUAY063UzLY3ReRlxmiSM,15581
44
- csc_cia_stne-0.1.38.dist-info/licenses/LICENCE,sha256=LPGMtgKki2C3KEZP7hDhA1HBrlq5JCHkIeStUCLEMx4,1073
45
- csc_cia_stne-0.1.38.dist-info/METADATA,sha256=MNpdUJGkvdDCZgTs6v00eMmNbBr3enTu5y0RIY7r_qo,1574
46
- csc_cia_stne-0.1.38.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
- csc_cia_stne-0.1.38.dist-info/top_level.txt,sha256=ldo7GVv3tQx5KJvwBzdZzzQmjPys2NDVVn1rv0BOF2Q,13
48
- csc_cia_stne-0.1.38.dist-info/RECORD,,
44
+ csc_cia_stne-0.1.39.dist-info/licenses/LICENCE,sha256=LPGMtgKki2C3KEZP7hDhA1HBrlq5JCHkIeStUCLEMx4,1073
45
+ csc_cia_stne-0.1.39.dist-info/METADATA,sha256=X6h8HAerxIkqx6xz5FXBIj9lcJz9k3wflrklQw7Wjho,1574
46
+ csc_cia_stne-0.1.39.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
+ csc_cia_stne-0.1.39.dist-info/top_level.txt,sha256=ldo7GVv3tQx5KJvwBzdZzzQmjPys2NDVVn1rv0BOF2Q,13
48
+ csc_cia_stne-0.1.39.dist-info/RECORD,,