db sends Exception as error in callbacks