Fix error for some users when inserting data into work_data, and fail the JSON request if the work cannot be inserted
Fix error for some users when inserting data into work_data, and fail the JSON request if the work cannot be inserted

cdhowie/Bitcoin-mining-proxy