Skip to content

Commit bd9df1a

Browse files
authored
Fix for a transient error
1 parent 4df90f5 commit bd9df1a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ Created by: [Alec Dibble](https://www.alecdibble.com)
3535

3636
## Change Log
3737

38+
* **1.2.2**
39+
* Fix for a transient error
40+
3841
* **1.2.1**
3942
* Added handling for a brand new graph with no previous journal days
4043

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "logseq-journal-auto-copier",
3-
"version": "1.2.0",
3+
"version": "1.2.2",
44
"main": "public/index.html",
55
"author": "alecdibble",
66
"scripts": {

src/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ async function handleCron() {
108108
}
109109
);
110110
}
111+
112+
if(!page) return
113+
111114
const pageEmptyCheck = await isPageEmpty(page.name)
112115
if(!pageEmptyCheck) return
113116

0 commit comments

Comments
 (0)