Skip to content

Commit 586b41e

Browse files
committed
Merge PR #164 into 16.0
Signed-off-by pedrobaeza
2 parents 45c72a6 + 35701b7 commit 586b41e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hr_attendance_rfid/models/hr_employee.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ def register_attendance(self, card_code):
7272
res["error_message"] = msg
7373
return res
7474
except Exception as e:
75-
res["error_message"] = str(e)
76-
_logger.error(str(e))
75+
res["error_message"] = repr(e)
76+
_logger.error(repr(e))
7777
return res

0 commit comments

Comments
 (0)