Pass the error to the success callback. Fixes #37