Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3746015
D7741.id26195.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
427 B
Referenced Files
None
Subscribers
None
D7741.id26195.diff
View Options
diff --git a/lib/utils/call-server-endpoint.js b/lib/utils/call-server-endpoint.js
--- a/lib/utils/call-server-endpoint.js
+++ b/lib/utils/call-server-endpoint.js
@@ -204,8 +204,8 @@
type: forcePolicyAcknowledgmentActionType,
payload,
});
- return undefined;
- } else if (error) {
+ }
+ if (error) {
throw new ServerError(error, payload);
}
options?.getResultInfo?.({ interface: 'REST' });
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 5:36 PM (17 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2846651
Default Alt Text
D7741.id26195.diff (427 B)
Attached To
Mode
D7741: [lib] fix `callServerEndpoint` returning `undefined`
Attached
Detach File
Event Timeline
Log In to Comment