Skip to content

Conversation

@siduck
Copy link
Contributor

@siduck siduck commented Dec 1, 2025

Closes: #67

onError() is already being called inside resources.js, no need to call it in frappeRequest.js

Screen.Recording.2025-12-01.at.4.06.29.PM.mov

@siduck siduck force-pushed the fix-duplicate-onerror branch from b5baf21 to 5670f87 Compare December 1, 2025 10:37
@netchampfaris
Copy link
Contributor

@siduck

This fix might not be correct. frappeRequest is supposed to handle onerror callback if used separately. maybe we add a flag if it is handled already in createResource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: onError in resource is getting called twice

3 participants