Skip to content

Commit e844ec8

Browse files
committed
fix: prevent error when attempting to log details of failed to fetch
1 parent d9caf50 commit e844ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/core/database/pouch-database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export class PouchDatabase extends Database {
154154
Logging.debug("navigator.onLine", navigator.onLine);
155155
throw new DatabaseException({
156156
error: "Failed to fetch from DB",
157-
actualResponse: JSON.stringify(result.headers),
157+
actualResponse: JSON.stringify(result),
158158
actualResponseBody: await result?.text(),
159159
});
160160
}

0 commit comments

Comments
 (0)