Imported patch from https://github.com/FedericoCeratto/bottle-cork/issues/24
More informative error message. Closes: #21