From 5c24472c7f2ada01d3ae1344bb2d70846f0d444f Mon Sep 17 00:00:00 2001 From: http Date: Tue, 11 Apr 2017 16:04:10 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BA=D0=BB=D1=8E=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=B0=D1=82=D1=8B?= =?UTF-8?q?=D0=B2=D0=B0=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- abonapp/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/abonapp/models.py b/abonapp/models.py index 1833abd..312e87f 100644 --- a/abonapp/models.py +++ b/abonapp/models.py @@ -415,7 +415,8 @@ def abon_post_save(sender, instance, **kwargs): # обновляем абонента на NAS tm.update_user(agent_abon, ip_timeout=timeout) - except (NasFailedResult, NasNetworkError): + except (NasFailedResult, NasNetworkError) as e: + print('ERROR:', e) return True