chill117 / express-mysql-session

A MySQL session store for the express framework in node
MIT License
313 stars 109 forks source link

Bug in error message Failed to parse data for session #85

Closed Feverqwe closed 6 years ago

Feverqwe commented 6 years ago

Hello! Small bug is error message.

https://github.com/chill117/express-mysql-session/blob/67d123d343b607050d8cee01e6ca1d15145db4be/index.js#L172 Need replace to

return cb(new Error('Failed to parse data for session:' + session_id)); 
chill117 commented 6 years ago

Thanks for the heads-up! I've corrected the issue with commit 7a14107.