diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-05-23 09:22:27 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-05-23 09:22:27 +0700 |
| commit | f6f59e660af6c4229ada54f7313d68867df1ba15 (patch) | |
| tree | 9a27b4e0e6571c639ba173df5ae25a2e7014aefd /indoteknik_api/controllers/api_v1/user.py | |
| parent | 68378dd2fb8d61b282a672ca0f09033d15d82283 (diff) | |
| parent | 558130bbf48c33ddfa6080450c80bc8801a570f0 (diff) | |
Merge branch 'CR/form-merchant' into odoo-backup
# Conflicts:
# indoteknik_custom/models/sale_order.py
# indoteknik_custom/views/sale_order.xml
Diffstat (limited to 'indoteknik_api/controllers/api_v1/user.py')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/user.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/user.py b/indoteknik_api/controllers/api_v1/user.py index b5b7e055..967bbcc9 100644 --- a/indoteknik_api/controllers/api_v1/user.py +++ b/indoteknik_api/controllers/api_v1/user.py @@ -60,7 +60,9 @@ class User(controller.Controller): 'user': self.response_with_token(user), } return self.response(data) - except: + except Exception as e: + respon = str(e) + print(respon) return self.response({ 'is_auth': False, 'reason': 'NOT_FOUND' |
