Fixed bug in the error callback.
Version bump.