We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a23dd3 commit 0f7665cCopy full SHA for 0f7665c
src/core/edgedb/edgedb.service.ts
@@ -85,6 +85,9 @@ export class EdgeDB {
85
return await this.executor.current.query(query, args);
86
}
87
} catch (e) {
88
+ // Ignore this call in stack trace. This puts the actual query as the first.
89
+ e.stack = e.stack!.replace(/^\s+at EdgeDB\.run.+\n/m, '');
90
+
91
if (ExclusivityViolationError.is(e)) {
92
throw ExclusivityViolationError.cast(e);
93
0 commit comments