Fixes issue #52. Makes a callback in favor of throwing an exception.
Calls callback instead of throwing an error