save error into log table
Merge branch 'hbut_version' of github.com:openhbut/Beds. into hbut_version