Skip to content

Commit

Permalink
Update tools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfareiza authored Aug 24, 2024
1 parent d28d56d commit 9ceb027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/apps/base/resources/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ def guardar_info_bd(**kwargs):
rad.id = None
save_in_bd('server', rad)
except Exception as e:
logger.error(f"{kwargs.get('NUMERO_AUTORIZACION')} Error guardando radicación: {e}")
logger.error(f"{kwargs.get('NUMERO_AUTORIZACION')} Error guardando radicación: {str(e)}")
notify('error-bd',
f"ERROR GUARDANDO RADICACION {rad} EN BASE DE DATOS", e)
f"ERROR GUARDANDO RADICACION {rad} EN BASE DE DATOS", str(e))
else:
logger.info(f"{rad} Radicación guardada con éxito!")

Expand Down

0 comments on commit 9ceb027

Please sign in to comment.