Replace all instances of err.strerror with err.
The strerror attribute contained only partial information about the exception and produced some very confusing error messages. By passing err (the exception object itself) and letting it convert itself to a string, the error messages are better.
Showing
Please register or sign in to comment