You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 74568e8
Browse filesBrowse the repository at this point in the historyBrowse files
message: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
916
+
stack: Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
917
+
environmentName: undefined
918
+
cause: no cause`);
919
+
}
920
+
});
921
+
922
+
it('includes AggregateError.errors in thrown errors',async()=>{
923
+
functionrenderError(error){
924
+
if(!(errorinstanceofError)){
925
+
return`${JSON.stringify(error)}`;
926
+
}
927
+
letresult=`
928
+
is error: ${errorinstanceofAggregateError ? 'AggregateError' : 'Error'}
message: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
1035
+
stack: Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
0 commit comments