-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Hi,
I got a "Database adapter error" from SchemasRouter, but the original error gets eaten by:
.catch(error => { if (error === undefined) { throw new Parse.Error(Parse.Error.INVALID_CLASS_NAME,
Class ${className} does not exist.); } else { throw new Parse.Error(Parse.Error.INTERNAL_SERVER_ERROR, 'Database adapter error.'); } });
Should the original message be appended ?
Should Parse.Error have another constructor argument (sourceError) ?
Should the original error be rethrown ?
Thx a lot (as always),
Olivier
Metadata
Metadata
Assignees
Labels
No labels