Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][FIX] hr_attendance_rifd: catch ValidationError in a way RFID devices can handle it #163

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hr_attendance_rfid/models/hr_employee.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ def register_attendance(self, card_code):
res["error_message"] = msg
return res
except Exception as e:
res["error_message"] = str(e)
_logger.error(str(e))
res["error_message"] = repr(e)
_logger.error(repr(e))
return res
Loading