Skip to content

Commit

Permalink
tweak error event handler; tag 0.1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Apr 27, 2024
1 parent 4bbca61 commit 12cc5a0
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 146 deletions.
56 changes: 31 additions & 25 deletions calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions compact.cirru
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{} (:package |app)
:configs $ {} (:init-fn |app.server/main!) (:reload-fn |app.server/reload!) (:version |0.1.18)
:configs $ {} (:init-fn |app.server/main!) (:reload-fn |app.server/reload!) (:version |0.1.19)
:modules $ [] |lilac/ |recollect/ |memof/ |ws-edn.calcit/ |cumulo-util.calcit/ |cumulo-reel.calcit/ |fuzzy-filter/
:entries $ {}
:page $ {} (:init-fn |app.client/main!) (:reload-fn |app.client/reload!)
Expand Down Expand Up @@ -1347,7 +1347,8 @@
dispatch!
:: :process/error $ [] pid (str event)
, sid
dispatch! (:: :process/finish pid) sid
; dispatch! (:: :process/finish pid) sid
js/console.error "\"[TERMINA] process error" event
.!on proc "\"uncaughtExceptionMonitor" $ fn (err origin)
dispatch!
:: :process/error $ [] pid (str err &newline origin)
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "termina",
"version": "0.1.18",
"version": "0.1.19",
"description": "Start process from a Webpage",
"bin": {
"termina": "./server.mjs"
Expand All @@ -19,19 +19,19 @@
"author": "jiyinyiyong",
"license": "MIT",
"dependencies": {
"@calcit/procs": "^0.8.49",
"@calcit/procs": "^0.8.50",
"chalk": "^5.3.0",
"dayjs": "^1.11.10",
"latest-version": "^9.0.0",
"md5": "^2.3.0",
"nanoid": "^5.0.6",
"nanoid": "^5.0.7",
"randomcolor": "^0.6.2",
"url-parse": "^1.5.10",
"ws": "^8.16.0"
},
"devDependencies": {
"bottom-tip": "^0.1.5",
"feather-icons": "^4.29.1",
"vite": "^5.2.8"
"vite": "^5.2.10"
}
}
Loading

0 comments on commit 12cc5a0

Please sign in to comment.