We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45c72a6 + 35701b7 commit 586b41eCopy full SHA for 586b41e
hr_attendance_rfid/models/hr_employee.py
@@ -72,6 +72,6 @@ def register_attendance(self, card_code):
72
res["error_message"] = msg
73
return res
74
except Exception as e:
75
- res["error_message"] = str(e)
76
- _logger.error(str(e))
+ res["error_message"] = repr(e)
+ _logger.error(repr(e))
77
0 commit comments