File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -784,7 +784,10 @@ export class IndexedDbTransaction implements DbTransaction {
784784 if ( history . length > 1 ) {
785785 this . logWriter . warn (
786786 "IndexedDbTransaction Errored after Resolution, Swallowing. Error: " +
787- errorDetail +
787+ ( this . _trans . error ? this . _trans . error . message : undefined ) +
788+ ( this . _trans . error ?. name !== undefined
789+ ? ", ErrorName: " + this . _trans . error . name
790+ : "" ) +
788791 ", History: " +
789792 history . join ( "," )
790793 ) ;
@@ -811,7 +814,10 @@ export class IndexedDbTransaction implements DbTransaction {
811814 if ( history . length > 1 ) {
812815 this . logWriter . warn (
813816 "IndexedDbTransaction Aborted after Resolution, Swallowing. Error: " +
814- errorDetail +
817+ ( this . _trans . error ? this . _trans . error . message : undefined ) +
818+ ( this . _trans . error ?. name !== undefined
819+ ? ", ErrorName: " + this . _trans . error . name
820+ : "" ) +
815821 ", History: " +
816822 history . join ( "," )
817823 ) ;
You can’t perform that action at this time.
0 commit comments