added option of fail callback to default websql adapter